get_email
Retrieve full email details including body content, headers, and metadata by providing the email ID obtained from list_emails() or search_emails() results.
Instructions
Get a specific email by ID.
This tool retrieves the full details of a specific email, including
the body content, headers, and other metadata.
Prerequisites:
- The user must be authenticated. Check auth://status resource first.
- You need an email ID, which can be obtained from list_emails() or search_emails()
Args:
email_id (str): The ID of the email to retrieve. This ID comes from the
list_emails() or search_emails() results.
Returns:
Dict[str, Any]: The email details including:
- id: Email ID
- thread_id: Thread ID
- subject: Email subject
- from: Sender information
- to: Recipient information
- cc: CC recipients
- date: Email date
- body: Email body content
- snippet: Short snippet of the email
- labels: Email labels
- email_link: Direct link to the email in Gmail web interface
Example usage:
1. First check authentication: access auth://status resource
2. Get a list of emails: list_emails()
3. Extract an email ID from the results
4. Get the full email: get_email(email_id="...")
5. Always include the email_link when discussing the email with the user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes |