Control your email flows in Amazon WorkMail using AWS Lambda
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.
Source:: Amazon AWS