MCP.so
Sign In
Servers
G

Gemini Email Subject Generator MCP

@falahgs

Overview

What is Gemini Email Subject Generator MCP?

Gemini Email Subject Generator MCP is a Model Context Protocol server that uses Google's Gemini Flash 2 AI model to generate engaging email subjects and detailed thinking processes. It integrates with Claude Desktop to provide intelligent email subject generation and advanced content creation.

How to use Gemini Email Subject Generator MCP?

Install Node.js v16+, TypeScript, and Claude Desktop. Obtain a Google Gemini API key and an SMTP email account. Clone the repository, run npm install, create a .env file with GEMINI_API_KEY, NODEMAILER_EMAIL, and NODEMAILER_PASSWORD, then build with npm run build. Configure Claude Desktop by editing claude_desktop_config.json with the server’s path and environment variables, then restart Claude. Use the send-email tool with arguments like to, subjectPrompt, text, html, and images; or the generate-thinking tool with a prompt and optional outputDir.

Key features of Gemini Email Subject Generator MCP

  • Sends emails with AI-generated subjects using Gemini Flash 2.
  • Supports HTML and plain text email content.
  • Allows image attachments with inline display capability.
  • Generates detailed thinking process text with timestamps.
  • Uses environment variables for secure authentication.
  • Provides error handling and status reporting.

Use cases of Gemini Email Subject Generator MCP

  • Generating catchy email subjects for marketing campaigns.
  • Drafting professional or creative email content with AI assistance.
  • Producing complex reasoning and analysis for brainstorming sessions.
  • Creating structured thinking outputs saved to timestamped files.
  • Integrating AI-powered email and content generation into Claude workflows.

FAQ from Gemini Email Subject Generator MCP

What prerequisites are needed to use this server?

Node.js v16 or higher, TypeScript, Claude Desktop, a Google Gemini API key, and an SMTP email account (e.g., Gmail with an app password).

How do I configure the server for Claude Desktop?

Edit %AppData%/Claude/claude_desktop_config.json to add an MCP server entry with the command node, the path to the compiled index.js, and the required environment variables (GEMINI_API_KEY, NODEMAILER_EMAIL, NODEMAILER_PASSWORD).

Where are thinking outputs saved?

By default, thinking outputs are saved to output/thinking/gemini_thinking_[timestamp].txt. You can specify a custom outputDir in the tool arguments.

How do I troubleshoot email sending issues?

Verify that NODEMAILER_EMAIL and NODEMAILER_PASSWORD are correctly set. For Gmail, use an app password instead of the main account password. Ensure image data is a valid base64 data URI and that the recipient email address is correctly formatted.

What security precautions should I take?

Store API keys and credentials in the .env file, never share this file, use Gmail app passwords, and avoid including sensitive or personal information in email content or examples.

Tags

More from AI & Agents