Skip to main content
Glama
Soundhannes

IMAP MCP Server

by Soundhannes

get_auto_archive_list

Retrieve the list of email senders configured for automatic archiving in your IMAP account to manage and review automated email organization rules.

Instructions

Get list of senders that are auto-archived

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the get_auto_archive_list method which returns the list of auto-archive senders from the IMAP client.
    def get_auto_archive_list(self) -> list[AutoArchiveSender]:
        """Get list of senders that are auto-archived."""
        return self.auto_archive_senders
  • The actual implementation of the get_auto_archive_list method within the IMAP client.
    def get_auto_archive_list(self) -> list[AutoArchiveSender]:
        """Get list of senders that are auto-archived."""
        return self.auto_archive_senders
  • The MCP server request handler that dispatches the "get_auto_archive_list" tool call to the imap_client instance.
    elif name == "get_auto_archive_list":
        return imap_client.get_auto_archive_list()
  • Registration of the get_auto_archive_list tool.
        "get_auto_archive_list",
        "Get list of senders that are auto-archived",
        {},
    ),
  • The tool invocation handler that calls the IMAP client's get_auto_archive_list method.
    elif name == "get_auto_archive_list":
        return imap_client.get_auto_archive_list()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Soundhannes/IMAP-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server