I am trying to find out if it is possible to prevent expensify sending emails for API events. For example when a user is added to a policy, we do not want expensify to send an email to the user.
Hey @Paulr !
Unfortunately, we can't control most of our emails in that manner. Specifically, if the user did not have an active user account before your API action, the email serves as a way to notify them that they have a user account ready to validate and a policy ready to use for expense reporting.
You could try setting an email filter on your firewall but that might end up blocking too many unrelated Expensify emails.
Would you let me know a bit more about your use case here? I'll do my best to find an alternative or more applicable advice.