Tool

Download attachment

The Gmail Download Attachment tool enables users to effortlessly download email attachments from their Gmail account directly to a local temporary directory. By specifying the message and attachment identifiers, this tool streamlines retrieving files without manual intervention.

Google Mail

Features

  • Download attachments directly from Gmail using message and attachment IDs.
  • Save attachments automatically to the local /tmp directory for easy access.
  • Integrates seamlessly with Gmail API for precise and efficient file retrieval.
  • Supports various attachment types with renaming options via the filename parameter.
  • Provides a straightforward input schema ensuring accurate configuration and usage.

Benefits

  • Saves time by automating the attachment download process.
  • Eliminates the need for manual email navigation and file saving.
  • Enhances workflow efficiency by integrating directly with Gmail.
  • Reduces errors in attachment retrieval with clear input requirements.
  • Facilitates easy access to attachments for further processing or storage.

Description

Download an attachment by attachmentId to the /tmp directory. See the documentation

Parameters

3 parameters

NameTypeDescription
messageIdrequiredstring

The identifier of a message

attachmentIdrequiredstring

Identifier of the attachment to download

filenamestring

Name of the new file. Example: test.jpg

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .