Posted On: May 11, 2020
Today, Amazon WorkMail announced that you can now control email flow of your organization using AWS Lambda functions when using Email Flow Rules. With this, you can build powerful email flow control system with completely customizable conditions. For example, you can easily create Lambda to block any specific type of inbound or outbound email, or you can add or remove recipients to all or some inbound or outbound email.
To get started, first create a Lambda function, to control the email flow, using the AWS Lambda console. Optionally, you can start with an easy-to-use template by choosing one of several Amazon WorkMail applications available on the Serverless Application Repository. You can then create an inbound or outbound email flow rule with Run Lambda action and activate synchronous option from Amazon WorkMail console.
See Configuring AWS Lambda on WorkMail to try it now. To learn more about Amazon WorkMail, or to start your trial, see Amazon WorkMail.