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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/imap_mcp/imap_client.py:886-888 (handler)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 - src/imap_mcp/imap_client.py:886-888 (handler)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 - src/imap_mcp/server.py:667-668 (registration)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() - src/imap_mcp/server.py:407-410 (registration)Registration of the get_auto_archive_list tool.
"get_auto_archive_list", "Get list of senders that are auto-archived", {}, ), - src/imap_mcp/server.py:667-668 (handler)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()