Skip to main content
Glama
lobster-kit

mcp-server-lobstermail

by lobster-kit

delete_inbox

Soft-delete an inbox with a 7-day grace period before permanent removal. Manage email inboxes by initiating deletion while allowing recovery during the grace window.

Instructions

Soft-delete an inbox. It enters a 7-day grace period before permanent deletion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inbox_idYesInbox ID to delete

Implementation Reference

  • The delete_inbox tool registration and handler logic. It uses the LobsterMail client to perform the deletion.
    server.registerTool('delete_inbox', {
      title: 'Delete Inbox',
      description: 'Soft-delete an inbox. It enters a 7-day grace period before permanent deletion.',
      inputSchema: {
        inbox_id: z.string().describe('Inbox ID to delete'),
      },
    }, async ({ inbox_id }) => {
      const lm = await getClient();
      await lm.deleteInbox(inbox_id);
    
      return {
        content: [
          {
            type: 'text' as const,
            text: `Inbox ${inbox_id} has been soft-deleted. It will be permanently removed after 7 days.`,
          },
        ],
      };

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/lobster-kit/mcp-server-lobstermail'

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