---
schema_version: "1"
id: ffc3bab9cda965b191efd1a988fdd4c5d139240a3fb3f93af5a121baac8356d8
title: Email
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexcode/apex_forcecom_email.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_forcecom_email.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b7480b1fe2840b11c780fa76402c779f992235182f176ca4005f2982f12c5a6a
description: You can use Apex to work with inbound and outbound email.
---
# Email

You can use Apex to work with inbound and outbound email.

Use Apex with these email features:

- **[Inbound Email](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_email_inbound.htm)**  
    Use Apex to work with email sent to Salesforce.
- **[Outbound Email](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_forcecom_email_outbound.htm)**  
    Use Apex to work with email sent from Salesforce.