method
create_and_extract_message_id!
rails latest stable - Class:
ActionMailbox::InboundEmail::MessageId
create_and_extract_message_id!(source, **options)public
Create a new InboundEmail from the raw source of the email, which is uploaded as an Active Storage attachment called raw_email. Before the upload, extract the Message-ID from the source and set it as an attribute on the new InboundEmail.