CData Python Connector for Gmail

Build 20.0.7745

DownloadAttachments

Downloads attachments of an email.

Input

Name Type Required Description
MessageId String True The ID of the email.
DownloadLocation String True The location where the attachments will be saved.

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.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 20.0.7745