- Adding
subjectPrefix
configuration for adding a prefix string to the subject of forwarded email. - Updating regex match for the Reply-To header to be case insensitive to support email sent with a Reply-to header.
- Fixing how libraries are loaded to improve performance.
- Adding capability to specify an email forwarding mapping that acts as a wildcard or catch-all for a domain.
- Converting the inbound recipient email address to lowercase before comparing to the forwarding map to handle case variations.
- Updating aws-sdk dependency to match AWS Lambda environment.
- Email addresses and domain wildcard keys in the
forwardMapping
configuration object must be lowercase.
- Adding configuration option for a static "From" email address.
- Removing all DKIM-Signature headers to prevent errors when forwarding or DKIM verification issues when received.
- Updating the email processing to remove any Sender header and to only add a Reply-To header if one does not already exist.
- Allowing the log function to be overridden.
- Reworking log output as structured data.
- Major refactor for configurability and testability.
- Adding test coverage with Mocha and Istanbul and configuration for eslint.
- Removing DKIM-Signature headers for the amazonses.com domain to prevent error when forwarding.
- Improving format of modified From header.
- Adding documentation and example for implementing this module.
- Ensuring empty lines are not left when the headers are altered.
- Removing any Return-Path headers.
- Removing any Reply-To headers to prevent conflicts with the new headers added.
- Initial release of aws-lambda-ses-forwarder.