Update content of inbound and outbound emails using AWS Lambda in Amazon WorkMail
Share
Services
Today, Amazon WorkMail announced that you can now update content of in-transit emails to and from your organization with AWS Lambda functions when using Email Flow Rules. With this, you can easily update the contents of the email as it flows in and out of your organization in order to help meet security, compliance, or productivity needs. For example, you can create a Lambda function which removes all attachments, or adds disclaimers or signatures on the email before it is delivered.
To get started quickly, you can deploy [the WorkMail Hello World Lambda function](https://console.aws.amazon.com/lambda/home#/create/app?applicationId=arn:aws:serverlessrepo:us-east-1:489970191081:applications/workmail-hello-world-python) from the AWS Serverless Application Repository to your account. A Lambda function with all the required resources and permissions will be created and configured on your behalf. Alternatively, you can create a Lambda function with all the required resources and permission manually. From this Lambda function you can call the PutRawMessageContent API of Amazon WorkMail Message Flow SDK to update messages in-transit. Finally, from the WorkMail console, create an [inbound or outbound email flow rule](https://docs.aws.amazon.com/workmail/latest/adminguide/lambda.html#synchronous-rules) with synchronous Run Lambda action that uses this Lambda function.
To learn more, see [Updating message content with AWS Lambda](https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html). To learn more about Amazon WorkMail, or to start your trial, see [Amazon WorkMail.](/workmail/)
What else is happening at Amazon Web Services?
Amazon AppStream 2.0 users can now save their user preferences between streaming sessions
December 13th, 2024
Services
Share
AWS Elemental MediaConnect Gateway now supports source-specific multicast
December 13th, 2024
Services
Share
Amazon EC2 instances support bandwidth configurations for VPC and EBS
December 13th, 2024
Services
Share
AWS announces new AWS Direct Connect location in Osaka, Japan
December 13th, 2024
Services
Share
Amazon DynamoDB announces support for FIPS 140-3 interface VPC and Streams endpoints
December 13th, 2024
Services
Share