Skip to main content
Glama
Soundhannes

IMAP MCP Server

by Soundhannes

remove_auto_archive_sender

Remove an email address from the automated archiving list to stop messages from that sender from being automatically archived.

Instructions

Remove sender from auto-archive list

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesEmail address to remove

Implementation Reference

  • The actual implementation of the tool logic that removes a sender from the auto-archive list and saves the configuration.
    def remove_auto_archive_sender(self, email_addr: str) -> bool:
        """Remove sender from auto-archive list."""
        self.auto_archive_senders = [
            s for s in self.auto_archive_senders if s.email != email_addr
        ]
        self._save_auto_archive_config()
        return True
  • MCP tool schema definition for remove_auto_archive_sender.
    make_tool(
        "remove_auto_archive_sender",
        "Remove sender from auto-archive list",
        {
            "email": {"type": "string", "description": "Email address to remove"},
        },
        ["email"],
    ),
  • Tool handler dispatching to the imap_client method.
    elif name == "remove_auto_archive_sender":
        return imap_client.remove_auto_archive_sender(
            email_addr=args["email"],

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