CData Python Connector for Gmail

Build 25.0.9454

DownloadAttachments

Downloads attachments of an email.

Input

Name Type Required Description
MessageId String True The ID of the email.
DownloadLocation String False The location where the attachments will be saved.
AttachmentId String False The X-Attachment-Id of the message part header. Needs to be specified when using the FileStream input.

Result Set Columns

Name Type Description
Success String Shows if the download was successful.
MessageId String The ID of the email.
AttachmentId String The X-Attachment-Id of the message part header.
Size String The size of the attachment.
Data String The base64 encoded content of the attachment.
Filename String The name of the attachment file.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454