<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Streamlining Custom Job Notifications with a Centralized Email List in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134377#M50117</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/127987"&gt;@mmayorga&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;The solution you provided worked perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, we did hit one small snag: the notification works for individual email addresses, but it doesn't seem to be sending to our team's group email (e.g.,&amp;nbsp;&lt;/SPAN&gt;data-team@company.com&lt;SPAN&gt;). Is this a known limitation in Databricks, or is there a workaround we might have missed?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Oct 2025 12:21:09 GMT</pubDate>
    <dc:creator>Raj_DB</dc:creator>
    <dc:date>2025-10-09T12:21:09Z</dc:date>
    <item>
      <title>Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134237#M50059</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I am working on setting up success/failure notifications for a large number of jobs in our Databricks environment. The manual process of configuring email notification using UI for each job individually is not scalable and is becoming very time-consuming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;To solve this, I am exploring a centralized approach. The goal is to define a list of email recipients in a single location (like a notebook or a table) and have all jobs reference this central list for their notifications.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Could you please suggest the best practices or available methods for achieving this?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Thank you for your assistance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 14:59:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134237#M50059</guid>
      <dc:creator>Raj_DB</dc:creator>
      <dc:date>2025-10-08T14:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134264#M50069</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/177179"&gt;@Raj_DB&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can easily achieve this by leveraging the &lt;/SPAN&gt;&lt;A href="https://databricks-sdk-py.readthedocs.io/en/latest/getting-started.html" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Python SDK&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; that is already installed within the Databricks clusters or by using the &lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/api/workspace/jobs/update" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Jobs API&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With the SDK, you can &lt;/SPAN&gt;&lt;A href="https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs/jobs.html#databricks.sdk.service.jobs.JobsExt.update" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;update each job&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; and its corresponding “email_notifications”, using the code below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;from databricks.sdk import WorkspaceClient
from databricks.sdk.service.jobs import JobSettings, JobEmailNotifications

w = WorkspaceClient()
w.jobs.update(
    job_id=&amp;lt;JOB_ID&amp;gt;,
    new_settings=JobSettings(
        email_notifications=JobEmailNotifications(
            on_start=["&amp;lt;EMAIL_HERE&amp;gt;"],
            on_success=["&amp;lt;EMAIL_HERE&amp;gt;"],
            on_failure=["&amp;lt;EMAIL_HERE&amp;gt;"]
        )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;You can extend this code by previously querying the list() function or providing a predefined list of Jobs IDs and navigating through that list and update their notifications. You can also create a json with mapping of your jobs and their corresponding emails while using this code snippet.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Remember that you can also set Notifications at the Task level.&lt;/P&gt;
&lt;P&gt;I hope this helps!,&amp;nbsp;If this solution works for you, please click the "Accept as Solution" button.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 18:24:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134264#M50069</guid>
      <dc:creator>mmayorga</dc:creator>
      <dc:date>2025-10-08T18:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134377#M50117</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/127987"&gt;@mmayorga&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;The solution you provided worked perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, we did hit one small snag: the notification works for individual email addresses, but it doesn't seem to be sending to our team's group email (e.g.,&amp;nbsp;&lt;/SPAN&gt;data-team@company.com&lt;SPAN&gt;). Is this a known limitation in Databricks, or is there a workaround we might have missed?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 12:21:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134377#M50117</guid>
      <dc:creator>Raj_DB</dc:creator>
      <dc:date>2025-10-09T12:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134420#M50130</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/177179"&gt;@Raj_DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-darkreader-inline-color=""&gt;As far as I understand, this should work with individual or email groups. In the&lt;/SPAN&gt;&lt;A style="background-color: #181a1b; --darkreader-inline-bgcolor: var(--darkreader-background-181a1b, #131516);" href="https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/jobs.html#databricks.sdk.service.jobs.JobEmailNotifications" target="_blank" rel="noopener" data-darkreader-inline-bgcolor=""&gt;&amp;nbsp;documentation for the JobEmailNotifications,&lt;/A&gt;&lt;SPAN data-darkreader-inline-color=""&gt;&amp;nbsp;I don't see anything that could disrupt its behavior .&lt;/SPAN&gt;&amp;nbsp;Here are the &lt;A href="https://docs.databricks.com/aws/en/jobs/notifications#configure-notifications-on-a-job" target="_self"&gt;specific considerations about the behavior of the notifications&amp;nbsp;&lt;/A&gt;but none related to email groups.&lt;/P&gt;
&lt;P&gt;I'm curious: if you set the job notification manually via the UI using the email group, are you able to receive the email? If you do then, I may suggest upgrading the SDK.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;%pip install --upgrade databricks-sdk
dbutils.library.restartPython()
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;I hope this helps!&lt;/P&gt;
&lt;P&gt;Thank you Raj!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 15:17:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134420#M50130</guid>
      <dc:creator>mmayorga</dc:creator>
      <dc:date>2025-10-09T15:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134433#M50132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/127987"&gt;@mmayorga&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;Just to clarify, I have also tried adding the group email directly through the Databricks Jobs UI, and I'm still not receiving notifications there either.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 16:26:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134433#M50132</guid>
      <dc:creator>Raj_DB</dc:creator>
      <dc:date>2025-10-09T16:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134437#M50133</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/177179"&gt;@Raj_DB&lt;/a&gt;&amp;nbsp;Databricks sends notifications via its internal email service, which often requires the address to be a valid individual mailbox or a distribution list that accepts external mail. If your group email is a Microsoft 365, Please check if&amp;nbsp;&lt;BR /&gt;“Allow external senders” is enabled. No moderation or approval is blocking the email.&lt;/P&gt;&lt;P&gt;Try adding your personal email alongside the group email in the same job:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"email_notifications": {
  "on_failure": ["your.email@company.com", "group@company.com"]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 16:49:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134437#M50133</guid>
      <dc:creator>nayan_wylde</dc:creator>
      <dc:date>2025-10-09T16:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134439#M50134</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/177179"&gt;@Raj_DB&lt;/a&gt;&amp;nbsp;, thanks for the quick response. On my end, I've tested and&amp;nbsp;confirmed that it works with email groups.&lt;/P&gt;
&lt;P&gt;May I suggest in checking if any filter rule is applied to that email group?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 16:51:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134439#M50134</guid>
      <dc:creator>mmayorga</dc:creator>
      <dc:date>2025-10-09T16:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134442#M50135</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79394"&gt;@nayan_wylde&lt;/a&gt;&amp;nbsp;, I will check.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 17:14:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134442#M50135</guid>
      <dc:creator>Raj_DB</dc:creator>
      <dc:date>2025-10-09T17:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Streamlining Custom Job Notifications with a Centralized Email List</title>
      <link>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134444#M50137</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/127987"&gt;@mmayorga&lt;/a&gt;, I will check and thank you so much for your &lt;SPAN&gt;guidance&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN&gt;I really appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 17:18:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/streamlining-custom-job-notifications-with-a-centralized-email/m-p/134444#M50137</guid>
      <dc:creator>Raj_DB</dc:creator>
      <dc:date>2025-10-09T17:18:36Z</dc:date>
    </item>
  </channel>
</rss>

