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
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address to remove |
Implementation Reference
- src/imap_mcp/imap_client.py:903-909 (handler)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 - src/imap_mcp/server.py:420-427 (schema)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"], ), - src/imap_mcp/server.py:674-676 (registration)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"],