Skip to main content

Command Palette

Search for a command to run...

What is Action Mailbox?

Updated
1 min read
What is Action Mailbox?
P

Ruby/Rails

Action Mailbox

  • Action Mailbox routes incoming emails to controller-like mailboxes for processing in your Rails application. Action Mailbox is for receiving email, while Action Mailer is for sending them.

  • The inbound emails are routed asynchronously using Active Job to one or several dedicated mailboxes.

  • These emails are turned into InboundEmail records using Active Record, which are capable of interacting directly with the rest of your domain model.

  • InboundEmail records also provide lifecycle tracking, storage of the original email via Active Storage, and responsible data handling with on-by-default incineration.

  • Action Mailbox ships with ingresses which enable your application to receive emails from external email providers such as Mailgun, Mandrill, Postmark, and SendGrid.

  • You can also handle inbound emails directly via the built-in Exim, Postfix, and Qmail ingresses.

More from this blog

https://phanilkumar.com/integrating-jsonapideserialization

19 posts