Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Tags used for linking issues. [ID: 1172495]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Send an email with a single .eml file as an attachment to your gmail account. Gmail API message.getAttachment does not return .eml file.
A small code sample that reliably reproduces the issue.
let message = GmailApp.getMessageById(messageId);
let attachments = message.getAttachments({includeInlineImages: false});
What steps will reproduce the problem?
1. Send an email with a single .eml file as an attachment to your gmail account
2. Open the gmail message
3. Run the above code in the Google Gmail Addon with the id of the opened gmail
What is the expected output? What do you see instead? If you see error messages, please provide them.
I expect the .eml file is returned from message.getAttachments, but I don't.