Setting a Limit on the Number of Emails a ServiceNow Instance Sends Per MinuteDescriptionWhen there is a situation where the system is sending out a huge volume of emails at a time, you can set some system properties to avoid mass email sending and any errors that could cause this. Customers using office365 as their SMTP server might run into quota issues: They will see messages such as: 554 5.2.0 STOREDRV.Submission.Exception:SubmissionQuotaExceededException; Failed to process message due to a permanent exception with message The message can't be submitted because the sender's submission quota was exceeded. SubmissionQuotaExceededException: The message can't be submitted because the sender's submission quota was exceeded. [Hostname=XXXXXX]InstructionsWe recommend not modifying the default values. However, in some cases, you might slow down the default email delivery settings. There are two properties you can use to control this: glide.smtp.one_chunk_per_send (default is false)glide.email.smtp.max_send (default is 100) The system checks for outbound emails using the SMTP Sender Scheduled Job(s), and it'll try to send them out. If you activate the property glide.smtp.one_chunk_per_send, it means that the SMTP Sender will stop after sending one 'chunk'. A chunk is the number defined in glide.email.smtp.max_send. By default glide.smtp.one_chunk_per_send is false and glide.email.smtp.max_send is 100, meaning that the SMTP Sender job will grab up to 100 emails at a time, attempt to send them and then close the connection. Once that's done it'll straight away open a new connection, try to grab another 100 emails and send, and so on until all emails are sent. To change this behaviour you can set glide.smtp.one_chunk_per_send to true, and glide.email.smtp.max_send to a lower value, for example 14. This might be useful if using an email server that limits sending to 30 emails/minute (some Microsoft hosted services may have this limit). It means that on an instance with two SMTP Sender jobs, which each run once per minute*, each of the SMTP Senders will send a maximum 14 emails and then will break off and close the connection (and won't initiate a new connection since glide.smtp.one_chunk_per_send is true). Then a minute later these jobs will run again, and send a maximum of 14 emails each, so keeping the maximum to 28/minute under the 30/minute limit. *Note: check on your instance how many SMTP Sender jobs and how often they run: https://INSTANCENAME.service-now.com/sys_trigger_list.do?sysparm_query=GOTOnameSTARTSWITHSMTP%20Sender&sysparm_view=) More information is available on our documentation