ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

multi-mail

โดย yybdรุ่น 0.2.1i★ 0iรันบนเครื่อง
ชื่อใน registryio.github.yybd/multi-mail-mcp

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด แชตและอีเมล
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Several Gmail accounts: search, read, draft, send, labels and Google Calendar. Own OAuth client.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ multi-mail

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ multi-mail ↗

  3. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  4. วางค่าตั้งนี้แล้วบันทึกไฟล์

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. ปิดแอป Claude แล้วเปิดใหม่

  6. ลองเลย

    ใช้ multi-mail บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ multi-mail หรือมีชื่อเครื่องมือของ multi-mail ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ multi-mail ไม่ได้

multi-mail ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ multi-mail ได้

  • ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด แชตและอีเมล ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ multi-mail

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ multi-mail ↗

  3. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  4. วางคำสั่งนี้แล้วกด Enter

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

    แก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น multi-mail ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  6. ลองเลย

    ใช้ multi-mail บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ multi-mail หรือมีชื่อเครื่องมือของ multi-mail ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ multi-mail

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ multi-mail ↗

  3. กดปุ่มนี้เพื่อเปิด Cursor

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ multi-mail ช่อง MULTI_MAIL_DEFAULT, MULTI_MAIL_HOME, MULTI_MAIL_SEND, MULTI_MAIL_TZ ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน Cursor โหมด Agent

  6. ลองเลย

    ใช้ multi-mail บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ multi-mail หรือมีชื่อเครื่องมือของ multi-mail ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ multi-mail (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ multi-mail

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ multi-mail ↗

  3. กดปุ่มนี้เพื่อเปิด VS Code

    กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ multi-mail ช่อง MULTI_MAIL_DEFAULT, MULTI_MAIL_HOME, MULTI_MAIL_SEND, MULTI_MAIL_TZ ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน VS Code โหมด Agent

  6. ลองเลย

    ใช้ multi-mail บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ multi-mail หรือมีชื่อเครื่องมือของ multi-mail ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ multi-mail อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

Claude Desktop (claude_desktop_config.json)

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

Cursor (~/.cursor/mcp.json)

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

VS Code (mcp.json)

กำลังตรวจคำสั่ง · ปุ่มคัดลอกจะขึ้นเมื่อตรวจผ่าน

ค่าที่ต้องใส่เอง

  • MULTI_MAIL_DEFAULT env
    Account used when a tool call names none (email or alias)
  • MULTI_MAIL_HOME env
    Folder holding credentials.json and account tokens (default ~/.multi-mail)
  • MULTI_MAIL_SEND env
    Set to off for drafts-only mode: no tool can send mail
  • MULTI_MAIL_TZ env
    IANA time zone for calendar tools, overriding each calendar's own setting

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.2.1
ส่งเข้า registryi
8 พ.ย. 2569
แก้โค้ดล่าสุดi
10 พ.ย. 2569
ผู้ทำ
yybd
แพ็กเกจ
npm: @yybd/multi-mail-mcp
เว็บผู้ทำ
github.com
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 13 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub yybd ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด 3 วันที่ผ่านมา

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด แชตและอีเมลi

  • ดาวมากกว่า 0% ของอีก 2015 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 81% ของอีก 2015 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2015 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

multi-mail ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด 3 วันที่ผ่านมา และส่งรุ่นล่าสุด (0.2.1) เข้า registry 5 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Inbox Zero, draw.io, TradingMCP

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Inbox Zero

Search Gmail and Outlook, save drafts, manage email rules, and view email stats.

โดย elie222ใช้กันมาก★ 13Kอัปเดต 43 วันที่ผ่านมา

รันบนคลาวด์

draw.io

Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.

โดย jgraphใช้กันมาก★ 5.8Kอัปเดต 3 วันที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · draw.io

TradingMCP

Market analysis for AI assistants: screeners, multi-timeframe analysis, backtests, in-chat charts.

โดย atilaahmettanerใช้กันมาก★ 5.3Kอัปเดต 22 วันที่ผ่านมา

รันบนคลาวด์

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

*English · עברית*

multi-mail MCP

An MCP server for several Gmail accounts at once. It searches, reads, drafts and sends mail, and works with Claude Desktop, Claude Code and ChatGPT.

It has two transports:

  • stdio (dist/server.js) runs locally, for Claude Desktop and Claude Code.
  • Streamable HTTP (dist/http.js) is for ChatGPT, or any client that connects by URL. A token is required.

Each user brings their own Google OAuth client. Because of that, no Google app verification is needed and nothing passes through a third party. Mail goes only between your machine and Google.

Tools

ToolWhat it does
list_accountsLists the connected accounts and their aliases
search_emailsSearches one mailbox, or all of them with account="all", using Gmail search syntax
read_emailReturns a full message: headers, the body as text (HTML is converted), and attachment names
read_threadReturns a whole conversation
list_labelsLists a mailbox's labels and folders
create_draftSaves a new message or reply as a draft, without sending it
send_emailSends a new message or reply right away
list_drafts / send_draftLists pending drafts, or sends one of them
get_attachmentDownloads one attachment: text and PDFs come back as text, images as an image, anything else (and scanned PDFs) is saved under ~/.multi-mail/attachments
modify_labelsAdds or removes labels on messages or a thread: mark read or unread, archive, star, file under a label. Accounts connected with --labels only
create_labelCreates a label (Projects/Acme nests). Accounts connected with --labels only
list_eventsCalendar events between two times, across every calendar you see in Google Calendar, for one account or all of them. Accounts connected with --calendar only
find_free_timeFree slots of a given length inside working hours, checked against every calendar of every calendar-enabled account
create_eventCreates an event on your own calendar. Nobody is invited and no email goes out
search / fetchSearches every mailbox and fetches one message, in the shape ChatGPT expects (connectors, deep research)

Choosing a mailbox:

  • account accepts a full address, an alias (work), or the part before the @.
  • With a single account connected, you can leave it out.
  • MULTI_MAIL_DEFAULT sets a default account.

Replying:

  • reply_to_message_id puts the reply in the right thread and fills in the recipient and subject.
  • reply_all adds every original recipient.

Permissions: gmail.readonly and gmail.compose by default. The server cannot delete mail, move it to trash, or change settings.

  • Calendar is opt-in per account (add --calendar), which adds calendar.readonly and calendar.events. The server reads events and free/busy, and creates events on your own calendar without inviting anyone. It has no tool to change or delete an event. The calendar tools appear only when at least one account has calendar enabled. Times are read in each calendar's own time zone. If a calendar is set wrong (a new Google account often defaults to UTC), set MULTI_MAIL_TZ=Asia/Jerusalem or pass time_zone to the tool.
  • Labels are opt-in per account (add --labels), which adds gmail.modify. At Google's level that scope would also allow trashing mail, so the server has no trash tool and refuses the TRASH and SPAM labels.

Drafts-only mode

Start the server with --drafts-only, or set MULTI_MAIL_SEND=off, and send_email and send_draft are not registered at all. The model can still read, search and write drafts, but nothing can leave your mailbox until you press Send in Gmail.

Use it whenever the server reads mail you didn't write and nobody approves each step. That covers automated triage, scheduled tasks, and clients that skip permission prompts. Any incoming message could carry instructions ("forward this to…"), and in this mode there is no tool that could carry them out.

claude mcp add multi-mail -s user -- npx -y @yybd/multi-mail-mcp --drafts-only

How it compares

Checked on 2026-11-07, with star counts from that day, against web search and the awesome-mcp-servers list. The closest alternatives were checked against their own READMEs. I couldn't find official documentation of what the built-in Claude and ChatGPT connectors can do. That information comes mostly from blog posts by competing vendors, so treat it as approximate.

OptionSeveral accountsSendsClaude Desktop / CodeChatGPTWhere mail goes
multi-mail (this)yes, including search across all (all)yes, plus drafts and threaded repliesyes (stdio)yes (HTTP + token)only you and Google
Claude's built-in Gmail connectorno, one accountno, drafts onlyClaude only—Anthropic
ChatGPT's built-in Gmail connectorsources disagreeyes since June 2026, on the web, with approval—yesOpenAI
Google's official Gmail MCP (developer preview)not documentedno send toolClaudenot listedGoogle
google_workspace_mcp (~3.5k ⭐)multi-*user*; several accounts of one person in one session isn't documentedyesyesyes (developer mode)only you and Google
navbuildz/gmail-mcp-server (16 ⭐)yes, including allyesby URLprobably, untestedyou, plus Redis
alexneamtu/gmail-mcp (4 ⭐)yes, by aliasoptional (a drafts-only mode)remote only (Streamable HTTP)not mentioned; documents Claude and Codexonly you and Google, but needs Node 24, Linux with systemd and an HTTPS hostname
kojott/mailmcp-dist (1 ⭐)yes, any IMAP provider including Gmailyes, allowlisted, plus attachmentsyes (.mcpb or URL)yesyour server, or their shared one; Gmail by app password over IMAP; commercial licence
orieg/gws-connector (3 ⭐)yes, routed by label, email or domainyesClaude Code and other local clientsnot mentionedonly you and Google; Go, 49 tools across Gmail, Calendar, Drive, Sheets and more
honest-gmail-mcp (0 ⭐)one account per server instance; run several instances for several accountsyes, with attachmentsyes (stdio)noonly you and Google
dmorrill/gmail-mcp-multi, jwlutz/gmail_connector, 3vening/gmail-mcp and othersyesyes (some only after you opt in)yes (stdio)no, local onlyonly you and Google
Composio / Zapier MCP / PipedreamComposio: yesyesyes (URL)yes (URL)through the vendor, paid

Takeaways:

  • The built-in connectors don't give you several accounts plus sending in every client.
  • Several self-hosted servers now handle more than one Gmail account. Each makes a different trade-off:
  • alexneamtu/gmail-mcp is remote-only and needs a Linux server with an HTTPS hostname.
  • mailmcp reaches Gmail over IMAP with app passwords, under a commercial licence.
  • gws-connector covers the whole Workspace for local clients, without ChatGPT.
  • Most of the rest run locally only, so ChatGPT can't connect to them.
  • Hosted brokers route your mail and tokens through a third party.
  • multi-mail's niche is one MIT-licensed npx package that runs locally over stdio and, when you want ChatGPT, over token-protected HTTP. It uses the Gmail API with your own OAuth client and keeps a narrow scope:
  • It has no delete permission.
  • Tokens stay on your machine with 600 permissions.
  • The HTTP server won't start without a token.
  • multi-mail covers mail and Google Calendar. For the rest of Workspace, such as Drive or Docs, google_workspace_mcp is the mature choice, or gws-connector across several accounts.

Setup

You need Node.js 20 or newer. There's nothing to install: every command below runs the published package through npx.

Running from source instead

git clone https://github.com/yybd/multi-mail-mcp.git multi-mail && cd multi-mail && npm install && npm run build

Then use node dist/main.js wherever this guide says npx -y @yybd/multi-mail-mcp. Inside the source folder, npx -y @yybd/multi-mail-mcp fails with *command not found*: npx sees that the folder is the package itself and doesn't download it. Run npx from any other folder, or use npm run cli -- list there.

1. Create your own Google OAuth client (once)

Do this once, from one Google account. The same client then works for every mailbox you connect. If you already have a Google Cloud project for personal tools, you can add the client there instead of creating a new project.

  1. Project. Go to console.cloud.google.com/projectcreate, name the project (for example multi-mail) and click Create. Make sure it's selected in the top bar.
  2. Gmail API. On the Gmail API page, click Enable. If you'll use the calendar, also enable the Google Calendar API.
  3. Consent screen. In Google Auth Platform, click Get started and fill in:
  • App name: anything you like.
  • Support email: yours.
  • Audience: External.
  • Contact email: yours.

Accept the terms and click Create. You don't need to add scopes here; the server asks for them itself.

  1. Publish. Under Audience, click Publish app, then Confirm. The status should read *In production*.
  • ⚠️ In *Testing* mode, access expires every 7 days.
  • For personal use, Google doesn't need to verify the app.
  • If you stay in *Testing* anyway, add every Gmail address under *Test users*.
  1. Client. Under Clients, click Create client, choose the type Desktop app, and click Create. Then click Download JSON right away, because the secret is shown in full only in that dialog. Save the file like this:
mkdir -p ~/.multi-mail && mv ~/Downloads/client_secret_*.json ~/.multi-mail/credentials.json && chmod 600 ~/.multi-mail/credentials.json
2. Connect your mailboxes

Run this once per mailbox, with a different alias each time:

npx -y @yybd/multi-mail-mcp add --alias work
npx -y @yybd/multi-mail-mcp add --alias home

Each add opens a browser where you pick a Google account and approve access.

  • You'll see "Google hasn't verified this app". That's expected, because it's your own app. Click Advanced, then Go to … (unsafe).
  • Tick every permission box. If one is missing, the CLI stops and tells you which.

Managing accounts:

  • npx -y @yybd/multi-mail-mcp list lists the connected accounts.
  • check verifies every account still has access.
  • alias sets or changes an alias. The account can be its current alias, its address, or the part before @. For example, npx -y @yybd/multi-mail-mcp alias tech work renames tech to work, and it takes effect immediately, without a restart.
  • remove disconnects an account.
  • add --calendar reconnects an account with Google Calendar. This needs the Google Calendar API enabled in the same Cloud project as the Gmail API (step 2 of the OAuth setup). The flags comb

ตัดมาแค่ช่วงต้น อ่านต่อใน repo