# Email Processing

Depending on the email processor configured for a given _Inbound Email Address_, Vault will perform different actions after the email is received.

Email Processors take emails sent to configured _Inbound Email Addresses_ and turn them into content usable by Vault. For example, the included [Create Document from Email][1] processor turns the email into a document, and stores attachments as document attachments.

Depending on your Vault's <a href="/en/gr/74285/">configuration</a>, you may have a variety of email processors available to you. Some may be bound to specific applications, such as MedComms or Clinical Operations. You can also write <a class="external-link " href="https://developer.veevavault.com/sdk/#Email_Processors" target="_blank" rel="noopener">custom processors<i class="fa fa-external-link" aria-hidden="true"></i></a> for your organization.

## Standard Email Processors

### Create Document from Email {#create_document_from_email}

The _Create Document from Email_ processor converts <a href="/en/gr/74659/">inbound emails</a> into unclassified Vault documents.

* The Electronic Mail (.EML) file becomes the source document.
* If the _Unclassified_ document type (`undefined__v`) is configured to allow attachments, email attachments are saved in their original formats as document attachments.
* For each document it creates, Vault also creates an _Emailed Document_ record with references to the document and _Email_ record.
* The document name is always set to the email subject (up to 100 characters), even if the _Unclassified_ document type in your Vault uses a custom naming format.
* Emails that are part of an email chain that has already been used to create a document are ignored by the processor. If you need to file multiple emails in a chain, forward each relevant email in the chain separately. If the email processor address is used anywhere in the chain prior to forwarding, such as in the _To_ or _CC_ line, Vault will not create a document. When an email is not processed into a document, this can be viewed with an associated _Email_ object record (which will appear in a _Failed_ state).

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: The <em>Create Document from Email</em> processor does not support encrypted emails.</p>
    </div>
  </div>
</div>




## Medical Email Processors

* <a href="/en/gr/52757/#configuring-automated-email-intake-for-medical-inquiries">Medical Inquiry Automated Email Intake</a>: Receives email from Health Care Providers and either creates new inquiries or adds them to an existing record.











[1]: #create_document_from_email