rails--rails/actionmailbox
Mark Haussmann 71c8a89edd
Sendgrid: prepend X-Original-To header with envelope recipients
Sendgrid, like Mailgun, only passes BCC recipients as a parameter in the original JSON payload.

This PR adds code to prepend the recipients from the Sendgrid payload to the raw_email under the X-Original-To header.

References #38738.
2020-07-21 19:38:38 -04:00
..
app Sendgrid: prepend X-Original-To header with envelope recipients 2020-07-21 19:38:38 -04:00
bin
config
db/migrate
lib
test Sendgrid: prepend X-Original-To header with envelope recipients 2020-07-21 19:38:38 -04:00
.gitignore
CHANGELOG.md Sendgrid: prepend X-Original-To header with envelope recipients 2020-07-21 19:38:38 -04:00
MIT-LICENSE
README.md
Rakefile
actionmailbox.gemspec

README.md

Action Mailbox

Action Mailbox routes incoming emails to controller-like mailboxes for processing in Rails. It ships with ingresses for Mailgun, Mandrill, Postmark, and SendGrid. You can also handle inbound mails directly via the built-in Exim, Postfix, and Qmail ingresses.

The inbound emails are turned into InboundEmail records using Active Record and feature lifecycle tracking, storage of the original email on cloud storage via Active Storage, and responsible data handling with on-by-default incineration.

These inbound emails are routed asynchronously using Active Job to one or several dedicated mailboxes, which are capable of interacting directly with the rest of your domain model.

You can read more about Action Mailbox in the Action Mailbox Basics guide.

License

Action Mailbox is released under the MIT License.