ActionMailbox::InboundEmail
Constants
STATUSES = ["pending", "processing", "delivered", "failed", "bounced"]
TABLE = "action_mailbox_inbound_emails"
Constructors
Create from the raw RFC822 source: extract (or generate) the Message-ID, upload the source as a raw_email blob, insert the row and enqueue routing (mirrors create_and_extract_message_id!).
Class methods
count
SourceInstance methods
bounced!
Sourcebounced?
Sourcedelivered!
Sourcedelivered?
Sourcefailed!
Sourcefailed?
Sourceid
Sourcemail
Sourcemessage_checksum
Sourcemessage_id
Sourcenew_record?
Sourcepending!
Sourcepending?
Sourceprocessed?
Sourceprocessing!
Sourceprocessing?
Sourceraw_email_blob
Sourcereload
Sourceroute
Route using the routing rules declared on ::ApplicationMailbox (the top-level constant, exactly like the gem resolves it).
route_later
Enqueue routing (the gem uses an ActiveJob RoutingJob; P0 keeps an in-memory register of enqueued jobs — see PLAN.md deviations).
save
Sourcesource
Sourcestatus
Source