---
schema_version: "1"
id: ec88bb52f3e34395ac3722246c266de6e506685ea710d13d4bd13635d5ac4814
title: Email Services
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/code_email_services.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.code_email_services.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5dd06104bff819f23ce2c5d450dd6a27c15f068bc57d47375ad6cec7457f1381
description: You can use email services to process the contents, headers, and attachments of inbound email. For example, you can create an email service that automatically creates contact records based on contact information in messages.
products:
  - Salesforce Platform
release: "264"
---
# Email Services

You can use email services to process the contents, headers, and attachments of inbound email. For example, you can create an email service that automatically creates contact records based on contact information in messages.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic (<a href="https://help.salesforce.com/s/articleView?id=xcloud.overview_edition_lex_only.htm&amp;type=5&amp;language=en_US" target="_blank">not available in
              all orgs</a>) and Lightning Experience</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available in: <strong>Enterprise</strong>, <strong>Performance</strong>,
              <strong>Unlimited</strong>, and <strong>Developer</strong> Editions
            </p>
            <p style="margin-bottom:0;">Use of email services
              in installed AppExchange packages also available in:
              <strong>Essentials</strong>, <strong>Group</strong>, and <strong>Professional</strong>
              Editions
            </p>
          </td>

        </tr>
      </tbody>
    </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d37663e88">User Permissions
            Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d37663e88 ">To configure Apex email services and email service addresses:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d37663e88 ">Customize Application</td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d37663e88 ">To create Apex classes:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d37663e88 ">Author Apex</td>

        </tr>
      </tbody>
    </table>

- **[What Are Email Services?](https://help.salesforce.com/s/articleView?id=platform.code_email_services_overview.htm&release=264.0.0&type=5)**  
    Email services are automated processes that use Apex classes to process inbound email.
- **[Define Email Service Addresses](https://help.salesforce.com/s/articleView?id=platform.code_email_service_address.htm&release=264.0.0&type=5)**  
    Add an inbound email address for an email service.
- **[Define Email Services](https://help.salesforce.com/s/articleView?id=platform.code_email_services_editing.htm&release=264.0.0&type=5)**  
    Set up an email service to handle incoming email, and configure the service to process messages according to your users' needs.
- **[The InboundEmail Object](https://help.salesforce.com/s/articleView?id=platform.code_inbound_email.htm&release=264.0.0&type=5)**  
    For every email the Apex email service domain receives, Salesforce creates a separate InboundEmail object that contains the contents and attachments of that email. You can use Apex classes that implement the `Messaging.InboundEmailHandler` interface to handle an inbound email message. Using the `handleInboundEmail` method in that class, you can access an InboundEmail object to retrieve the contents, headers, and attachments of inbound email messages, as well as perform many functions.