---
schema_version: "1"
id: 5b42bb1a6e455a42f92d7170d0a36a318da993209fc7c3faad618a602084b34b
title: EmailMessages Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_system_emailmessages.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_system_emailmessages.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3b66ae1972e251c4f02091c8e89de6db2eea39f26f5f08955a5da9aefebf0b30
description: Use the methods in the EmailMessages class to interact with emails and email threading.
---
# EmailMessages Class

Use the methods in the EmailMessages class to interact with emails and email threading.

## Namespace

[System](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_System.htm "The System namespace provides classes and methods for core Apex functionality.")