rails--rails/actionmailbox/app/models/action_mailbox
George Claghorn 22f3dfe3cb
Upload raw email before creating pending ActionMailbox::InboundEmail
Fix that a storage upload error would leave behind a stuck-pending ActionMailbox::InboundEmail that could never be processed. The message isn't lost: the SMTP relay sees an HTTP server error and defers message delivery. We just have spurious, non-actionable InboundEmails stuck pending and tripping monitoring.

This does still leave behind an unattached ActiveStorage::Blob with no corresponding object on the storage service, but that's less annoying.
2021-01-04 09:28:09 -05:00
..
inbound_email Upload raw email before creating pending ActionMailbox::InboundEmail 2021-01-04 09:28:09 -05:00
inbound_email.rb Extract ActionMailbox::Record 2020-09-29 11:59:14 -04:00
record.rb Extract ActionMailbox::Record 2020-09-29 11:59:14 -04:00