{
  "name": "claudepost",
  "display_name": "Claude Post Email Management",
  "description": "ClaudePost enables seamless email management for Gmail, offering secure features like email search, reading, and sending.",
  "repository": {
    "type": "git",
    "url": "https://github.com/ZilongXue/claude-post"
  },
  "homepage": "https://github.com/ZilongXue/claude-post",
  "author": {
    "name": "Zilong Xue"
  },
  "license": "MIT",
  "categories": [
    "Messaging"
  ],
  "tags": [
    "Email Management",
    "Natural Language Processing"
  ],
  "examples": [
    {
      "title": "Search Emails",
      "description": "Search for emails using natural language commands.",
      "prompt": "Show me emails from last week."
    },
    {
      "title": "Read Email Content",
      "description": "Request to read specific email content.",
      "prompt": "Show me the content of email #12345."
    },
    {
      "title": "Send Emails",
      "description": "Send emails using voice commands.",
      "prompt": "I want to send an email to john@example.com."
    }
  ],
  "installations": {
    "uvx": {
      "type": "uvx",
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/ZilongXue/claude-post",
        "email-client"
      ]
    }
  },
  "tools": [
    {
      "name": "search-emails",
      "description": "Search emails within a date range and/or with specific keywords",
      "inputSchema": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string",
            "description": "Start date in YYYY-MM-DD format (optional)"
          },
          "end_date": {
            "type": "string",
            "description": "End date in YYYY-MM-DD format (optional)"
          },
          "keyword": {
            "type": "string",
            "description": "Keyword to search in email subject and body (optional)"
          },
          "folder": {
            "type": "string",
            "description": "Folder to search in ('inbox' or 'sent', defaults to 'inbox')",
            "enum": [
              "inbox",
              "sent"
            ]
          }
        }
      }
    },
    {
      "name": "get-email-content",
      "description": "Get the full content of a specific email by its ID",
      "inputSchema": {
        "type": "object",
        "properties": {
          "email_id": {
            "type": "string",
            "description": "The ID of the email to retrieve"
          }
        },
        "required": [
          "email_id"
        ]
      }
    },
    {
      "name": "count-daily-emails",
      "description": "Count emails received for each day in a date range",
      "inputSchema": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string",
            "description": "Start date in YYYY-MM-DD format"
          },
          "end_date": {
            "type": "string",
            "description": "End date in YYYY-MM-DD format"
          }
        },
        "required": [
          "start_date",
          "end_date"
        ]
      }
    },
    {
      "name": "send-email",
      "description": "CONFIRMATION STEP: Actually send the email after user confirms the details. Before calling this, first show the email details to the user for confirmation. Required fields: recipients (to), subject, and content. Optional: CC recipients.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "to": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of recipient email addresses (confirmed)"
          },
          "subject": {
            "type": "string",
            "description": "Confirmed email subject"
          },
          "content": {
            "type": "string",
            "description": "Confirmed email content"
          },
          "cc": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of CC recipient email addresses (optional, confirmed)"
          }
        },
        "required": [
          "to",
          "subject",
          "content"
        ]
      }
    }
  ]
}