how to know the outbound email addresses in servicenow

tulasi8
Tera Contributor

Hi Community,

 

How can we know all the outbound email address in ServiceNow instance. 

 

Regards,

Tulasi

1 REPLY 1

Itallo Brandão
Tera Guru

Hi @tulasi8 ,

To get a complete list of all outbound email addresses, you need to check three different places, as ServiceNow allows "From" addresses to be defined at the System, Account, or Notification level.

Here is how to find them all:

1. The Default System Address

This is the fallback address used if no specific override is configured.

  • Navigation: System Properties > Email Properties.

  • Field: Look for "User label" and "User address" (e.g., instance@service-now.com).

2. Configured SMTP Accounts

If your instance uses custom email servers (like Exchange, Gmail, or SendGrid), the "From" addresses are defined here.

  • Table: sys_email_account

  • Filter: Type is SMTP AND Active is true.

  • Check the "Email User Label" and "From" fields.

3. Notification Overrides (Specific Emails)

This is the most important check. Developers can override the sender for specific emails (e.g., HR emails sent from hr-support@company.com instead of the system default).

  • Table: sysevent_email_action (Notifications)

  • Filter: From is not empty.

  • Action: Run this query to see a list of all notifications that use a custom "From" address.

Bonus: Script to List All

If you want to print a quick list of all unique "From" addresses currently hardcoded in your Notifications, you can run this script in Scripts - Background:

JavaScript
 
var ga = new GlideAggregate('sysevent_email_action');
ga.addNotNullQuery('from');
ga.groupBy('from');
ga.query();

gs.print("--- Custom Outbound Addresses Found in Notifications ---");
while (ga.next()) {
    gs.print(ga.getValue('from'));
}

Summary: Combine the Default Property + SMTP Accounts + Notification Overrides to get your full inventory.


If this helps you map your email addresses, please mark it as Accepted Solution.

Best regards,
Brandão.