users
Gets the specified message.
get/gmail/v1/users/{userId}/messages/{id}
Path parameters
userIdstring required
The user's email address. The special value me can be used to indicate the authenticated user.
idstring required
The ID of the message to retrieve. This ID is usually retrieved using messages.list. The ID is also contained in the result when a message is inserted (messages.insert) or imported (messages.import).
Query parameters
format'minimal' | 'full' | 'raw' | 'metadata'
The format to return the message in.
metadataHeadersstring[]
When given and format is METADATA, only include headers specified.
Response
Successful response