fritzprix/libr-agent/email-integration
Claude Code and agent skill by fritzprix/libr-agent
- community
Checking that the SKILL.md file is still in the repository.
Integrates with any IMAP/SMTP mail server (Gmail, Outlook, Naver, Kakao, custom servers, etc.). Use when the user wants to read, send, search, reply to, or manage emails. Primary path: validate_config + email_client.py (password stored with storeAs, setup via setup_account.py). If Python/config/IMAP auth fails, fall back to browser webmail (Gmail/Outlook) via the sticky agent browser profile after the user has signed in inside LibrAgent’s agent browser. Triggers: "메일 보여줘", "이메일 확인", "send email", "받은 편지함", "메일 보내줘", "메일 검색".
Install
npx vskill@latest install fritzprix/libr-agent/email-integrationSKILL.md
The same SKILL.md was published earlier as fritzprix/libr-agent/email-integration.
Email Integration
Interact with mail on behalf of the user. Prefer IMAP/SMTP scripts when they work; use sticky agent browser webmail only as fallback.
Path conventions
Paths are relative to this skill's Base Directory. Replace <skill-base-dir> with its absolute path in commands.
- On Linux/macOS, use
python3ifpythonis unavailable. - Always quote paths:
"<skill-base-dir>/scripts/...".
Security (mandatory)
- NEVER ask for passwords in chat or display
~/.libragent/email_config - NEVER put the password in a command line
- Collect the password only with
requireUserInput=true,inputType=password, andstoreAs: "LIBRAGENT_EMAIL_PASSWORD"; persist withsetup_account.py --password-env LIBRAGENT_EMAIL_PASSWORD - If the user pastes a secret in chat, do not echo it—ask for it again with the
storeAsprompt and run setup - Browser fallback uses LibrAgent’s sticky agent browser profile (not everyday Chrome). Ask the user to sign in inside that browser when needed.
Decision tree
- Try IMAP script path (steps 1–4 below).
- On failure that blocks scripts, offer browser fallback (do not loop forever on setup):
python/python3missing- config missing/corrupt and user declines password setup, or setup/auth fails
- IMAP/SMTP auth failure, app-password / Modern Auth blocked
- If user agrees → follow references/browser-fallback.md.
- If not logged in inside the agent browser → ask the user to sign in once in a browser session, then retry.
- If user declines all paths → explain IMAP setup vs agent browser sign-in and stop.
Workflow (IMAP primary)
1. Detect config
- Exit
0→ configured, go to step 3 - Exit
1→ not configured, go to step 2 (or offer browser fallback if user prefers) - Exit
2→ corrupt config, go to step 2 with--reset
2. Setup (first time or reset)
See references/setup-flow.md for the single storeAs tool call and the preset/custom domain commands.
3. Dispatch action
Classify the request and call email_client.py:
| Action | When | Command | ||||
|---|---|---|---|---|---|---|
read_inbox | Browse inbox | `--action read_inbox [--limit N] [--filter unread\ | today\ | all]` | ||
read_email | Full content by UID | --action read_email --uid <UID> | ||||
send_email | Compose/send/reply | --action send_email --to ... --subject ... --body ... [--reply-to-uid <UID>] | ||||
search_email | Keyword/sender/date | --action search_email --query "<IMAP search>" | ||||
manage_email | Mark/move/delete | `--action manage_email --uid <UID> --op <mark_read\ | mark_unread\ | move\ | delete>` |
Search query examples: see references/request-patterns.md. Server presets: see references/server-profiles.md.
Draft vague compose requests yourself; confirm with the user before sending. For bulk delete/move, confirm count first.
4. Present results
See references/output-format.md. Errors: references/error-handling.md.
Browser fallback
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc-tauri/bundled_skills/email-integration/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fritzprix/libr-agent/email-integration)