Skip to content

Feature Request: Download Email Attachments #73

@keckj

Description

@keckj

I'm not deeply familiar with the IMAP protocol, but I believe this should be feasible.

Description:
Currently, the MCP email server can list email metadata including attachment names, but there's no way to actually download/retrieve the attachment content.

Use Case:
When listing emails with get_emails_content, I can see that an email has attachments (e.g., "document.docx"), but I cannot access the file content itself. This limits the usefulness of the email integration.

Proposed Solution:
Add a new tool/function like get_attachment or download_attachment that takes:

  • account_name
  • email_id
  • attachment_name
  • path - where to save the downloaded file

And returns confirmation of the download along with metadata (filename, mime type, size, saved location).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions