Attraction Mailbox - Why I love Action Mailbox
summary
Action Mailbox routes inbound mail to controller‑like mailboxes, creates an inbound-email record and enqueues processing with Active Job, and saves the raw data as an Active Storage attachment. Examples include parsing PDF attachments into models, an email‑to‑SMS webhook, an OpenAI wrapper, and a live demo that started my truck via an undocumented API — it works. Setup is two generators for ~80% of the work. Watch out for Active Storage URL options in jobs, choose S3 over disk, use a subdomain, and enable auto‑incineration.
AI-written summary · about
chapters (20)
- 0:00Intro
- 2:18What is Action Mailbox
- 15:50Action Mailbox Concerns
- 17:17Active Storage Attachment
- 18:20Source and Mail
- 19:15Inbound Email
- 19:40Application Mailbox
- 21:00Business Logic
- 21:14Bounce With
- 22:19Bounce With Example
- 23:48Potential Pitfalls
- 26:39Action Mailbox on Demand
- 27:32Guess Age
- 28:13Guess Display Name
- 29:24Postcard Reminder
- 30:00Physical Postcard
- 30:39Message
- 30:53Truck Mailbox
- 32:20Truck Mailbox Demo
- 35:14Security
related talks
34mAttraction Mailbox - Why I love Action Mailbox
34mAttraction Mailbox - Why I love Action Mailbox
44mRealtime Apps with Hotwire & ActionMailbox
17mActiveJob: A Service Oriented Architecture
34mInside Active Storage: a code review of Rails' new framework
22mBryan's ActieModel Extravaganza
42mPowerful Rails Features You Might Not Know
33mValidating and Processing the Content of...
