Logo vun Lessie Email

Lessie Email

Communautéit
LessieAI
lessie-email

Send, manage, and automate emails across multiple providers (Gmail, Outlook, Official Email) via MCP. Use this skill whenever the user wants to send emails, check inbox, manage email threads, create bulk email campaigns, manage drafts, or check email accounts and quotas. Trigger this skill when the user mentions sending mail, checking inbox, email campaigns, drafts, follow-ups, read/unread status, or email automation. Requires MCP server configuration.

Iwwersiicht

EditeurLessieAI
Repositorylessie-skill
Skill-Nummlessie-email
Stären
34
Forks
4
Matgeliwwert Fichieren
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum LessieAI op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Lessie Email an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/LessieAI/lessie-skill/tree/main/lessie-email
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LessieAI/lessie-skill.git /tmp/lessie-skill
mkdir -p .claude/skills
cp -r /tmp/lessie-skill/lessie-email .claude/skills/lessie-email
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Lessie Email an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Lessie Email automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Lessie Email net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Lessie Email — Multi-Provider Email Management

Setup

Add the Lessie Email MCP server to your MCP config (Claude Code ~/.claude.json, Cursor ~/.cursor/mcp.json, Codex ~/.codex/config.toml, etc.):

json
{
  "mcpServers": {
    "lessie-email-mcp": {
      "command": "npx",
      "args": ["-y", "@lessie/mcp-server"],
      "env": {
        "LESSIE_REMOTE_MCP_URL": "https://app.lessie.ai/email-api/mcp-public/mcp"
      }
    }
  }
}

Uninstall

Remove the "lessie-email" entry from your MCP config and run rm -rf ~/.lessie/.

Version check

Run this check once at the start of each session. Non-blocking — if any command fails, skip silently.

  1. Read current local version from this file's metadata version field above.
  2. Fetch remote version:
    bash
    curl -sf --max-time 5 https://raw.githubusercontent.com/LessieAI/lessie-skill/main/lessie-email/SKILL.md | head -5 | grep 'version:' | head -1 | awk '{print $2}'
  3. If the remote version is newer → tell the user:

    ⬆️ A newer version of lessie-email skill is available ({current} → {remote}). Run this command to update:

    npx skills add LessieAI/lessie-skill -y -g
  4. If versions match or check fails → skip, say nothing.

Authorization

  1. Directly call use_lessie to perform the desired action — skip authorization if already connected.
  2. If use_lessie fails (e.g., returns "not authorized" or "remote MCP server not connected") → call authorize to start the OAuth flow:
    • authorize returns an authorization URL. Tell the user you need to open a browser for Lessie login/registration, and open it using the appropriate system command:
      • macOS: open "<url>"
      • Linux: xdg-open "<url>"
      • Windows: start "<url>"
    • Tell the user the browser has been opened and they need to complete login/registration.
    • After the user confirms, call authorize again to verify the connection.
    • If authorization fails (timeout, denied, port conflict), follow the diagnostic hints returned by authorize and retry.
  3. After authorization succeeds → retry the original use_lessie call.

Troubleshooting: Authorization repeatedly fails

Root cause: stale lessie-mcp-server processes from old sessions occupy the callback port (19836), forcing port fallback and corrupting OAuth client state.

Fix — kill stale processes and clear storage, then re-authorize:

bash
ps aux | grep 'lessie-mcp-server' | grep -v grep | awk '{print $2}' | xargs kill 2>/dev/null
rm -rf ~/.lessie/
lsof -i :19836 | grep LISTEN  # should return nothing

Always inform the user before opening the browser — never silently redirect.

Quick start

After setup, try:

  • "Show me my email accounts and unread counts"
  • "Send an email from alice@company.com to bob@example.com about the Q2 report"
  • "List my recent email threads"
  • "Create a bulk email campaign to these 50 contacts"
  • "Draft an email to the engineering team about the sprint review"
  • "Mark all emails in this thread as read"

Tools overview

Email Accounts

ToolWhen to use
list_email_accounts_with_unreadView all linked email accounts with unread counts

Email Operations

ToolWhen to use
send_emailSend an email (supports HTML, CC/BCC, attachments, replies)
get_email_detailView full email details (content, delivery status, read status)
list_sent_emailsBrowse sent emails with cursor pagination
get_email_quotaCheck daily sending quota for a specific email address
delete_emailSoft-delete an email
set_email_read_statusMark an email as read or unread

Thread Management

ToolWhen to use
list_threadsBrowse email conversations (all/read/unread filtering)
get_thread_messagesView all messages in a conversation thread
delete_threadSoft-delete an entire conversation thread
set_thread_read_statusMark all emails in a thread as read or unread

Drafts

ToolWhen to use
create_draftCreate a new email draft
update_draftUpdate an existing draft (subject, content, recipients, etc.)
delete_draftDelete a draft
list_draftsBrowse drafts with cursor pagination

Bulk Email Tasks

ToolWhen to use
create_taskCreate a bulk email send task (auto-schedules per recipient)
list_tasksBrowse bulk tasks with progress info
get_task_detailView task details with delivery/open/fail stats per recipient
delete_taskDelete a bulk email task
pause_taskPause a running bulk email task
resume_taskResume a paused bulk email task

Agent behavior rules

Before sending emails

  1. Always check accounts first: Call list_email_accounts_with_unread to get available sender addresses.
  2. No email accounts bound: If the account list is empty, tell the user they have no email accounts linked yet and guide them to visit https://app.lessie.ai/ to bind an email account. Open the URL using the appropriate system command:
    • macOS: open "https://app.lessie.ai/"
    • Linux: xdg-open "https://app.lessie.ai/"
    • Windows: start "https://app.lessie.ai/" Then ask the user to return after binding and retry.
  3. Always check quota: Call get_email_quota for the chosen sender to confirm quota is sufficient.
  4. Never guess email addresses: Only use addresses returned by the account list.

Replying to emails

  1. Get the thread context: call get_thread_messages to see the conversation.
  2. Use the thread_id and reply_to_message_id from the last message.
  3. Pass both when calling send_email for a proper threaded reply.

Draft workflow

  1. Create a draft with create_draft — specify sender, recipients, subject, and content.
  2. Update the draft with update_draft if changes are needed.
  3. When ready, use send_email with the finalized content (drafts are not sent directly).
  4. Delete the draft with delete_draft after sending or if no longer needed.

Bulk task management

  • After creating a task with create_task, monitor progress with get_task_detail.
  • Use pause_task to temporarily halt a running campaign (e.g., if issues are found).
  • Use resume_task to continue a paused campaign.
  • Use delete_task to permanently remove a task.

Gmail/Outlook specific

  • When calling get_email_detail, delete_email, get_thread_messages for Gmail/Outlook accounts, always pass the email parameter.
  • The system auto-routes to the correct provider API based on the email address.

Key constraints

  • Cursor pagination: all list endpoints use cursor + size — pass next_cursor from previous response.
  • Default page size: 20 (max 100).
  • Email content: provide at least text_content or html_content — if only text is provided, HTML is auto-generated.
  • Attachments require pre-uploaded S3 keys with s3key, filename, mime_type, size.
  • Bulk tasks auto-schedule sends across time to respect quotas and avoid spam.

Heefeg gestallte Froen

Wat mécht de KI-Skill Lessie Email?

Send, manage, and automate emails across multiple providers (Gmail, Outlook, Official Email) via MCP. Use this skill whenever the user wants to send emails, check inbox, manage email threads, create bulk email campaigns, manage drafts, or check email accounts and quotas. Trigger this skill when the user mentions sending mail, checking inbox, email campaigns, drafts, follow-ups, read/unread status, or email automation. Requires MCP server configuration.

Firwat Lessie Email op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Lessie Email besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Lessie Email an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/LessieAI/lessie-skill/tree/main/lessie-email an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Lessie Email benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Lessie Email benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Lessie Email domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Lessie Email gratis?

De Skill gëtt vum LessieAI op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇