email-assistant

email-assistant is a skill for Codex from appleweiping/WEIPING_WIKI. It costs 87 tokens per session (1,278 once invoked), scanned A, original, MIT.

A personal assistant for Gmail and Google Workspace email. It can search, read, summarize, translate, organize, and draft messages for two specified Gmail accounts.

In plain words
What is it for?
It is for finding emails, summarizing or translating them, triaging inboxes, creating and updating drafts, and sending only after explicit approval.
Why use it?
It reduces the time spent sorting and understanding email while keeping sending under the user’s control. Its default is to create drafts rather than send messages automatically.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit It is for finding emails, summarizing or translating them, triaging inboxes, creating and updating drafts, and sending only after explicit approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/appleweiping/weiping_wiki/email-assistant
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add appleweiping/WEIPING_WIKI --skill email-assistant
Clone the repo
git clone --depth 1 https://github.com/appleweiping/WEIPING_WIKI

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for email-assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/email-assistant.svg)](https://agentmods.dev/skills/appleweiping/weiping_wiki/email-assistant)
Your own site
<a href="https://agentmods.dev/skills/appleweiping/weiping_wiki/email-assistant"><img src="https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/email-assistant.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 36
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 55
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 58
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.01278
Opus 5 $0.00044 $0.00639
Sonnet 5 $0.00017 $0.00256
Haiku 4.5 $0.00009 $0.00128

Measured 8d ago against content hash 8fcba70e5be0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

email-assistant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/action-logger.js, scripts/auth/auth-utils.js, scripts/auth/paths.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/email-assistant/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Email Assistant

Use this skill for Vipin's Gmail/Google Workspace email workflows: reading, searching, explaining, summarizing, drafting, and updating Gmail drafts across the umn and vipinapple account profiles.

Defaults

  • Use Gmail API scripts first. Do not open or control the browser for routine mail reading or drafting.
  • Keep normal output in Chinese unless the user asks otherwise.
  • Write outgoing professional or UMN mail in polished English unless the thread clearly uses another language.
  • Default to draft-only. Never send email unless the user explicitly says to send.
  • Use browser automation only for OAuth login, manual user review, or web-only fallback, and only with explicit confirmation before live account actions.
  • Do not store email bodies, tokens, cookies, credentials, browser profiles, or private mail content in the public wiki or Git.

Local Paths

Skill install:

D:\Research\vipin's knowledgebase\.codex\skills\email-assistant

Source mirror:

D:\Research\vipin's knowledgebase\skill\email-assistant

OAuth files are local-only and ignored by Git:

D:\Research\vipin's knowledgebase\.wiki-tmp\email-assistant\auth\credentials.json
D:\Research\vipin's knowledgebase\.wiki-tmp\email-assistant\auth\tokens.json

Override paths only when needed:

$env:EMAIL_ASSISTANT_AUTH_DIR = "D:\Research\vipin's knowledgebase\.wiki-tmp\email-assistant\auth"
$env:EMAIL_ASSISTANT_LOG_DIR = "D:\Research\vipin's knowledgebase\.wiki-tmp\email-assistant\logs"

First-Time Setup

From the skill directory:

& "D:\cc\node\corepack.cmd" pnpm install

Create a Google Cloud OAuth Desktop credential with Gmail API enabled, then save the downloaded credentials.json to:

.wiki-tmp\email-assistant\auth\credentials.json

Authenticate both accounts:

& "D:\cc\node\corepack.cmd" pnpm run setup -- --account umn --email "<umn email address>"
& "D:\cc\node\corepack.cmd" pnpm run setup -- --account vipinapple --email "<vipinapple email address>"
node scripts/manage-accounts.js --list

Read the full file on GitHub · 157 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 157 lines · 87 tokens per session scan A 8fcba70e5be0

Subscribe to this mod's changes

email-assistant is a skill published in the GitHub repository appleweiping/WEIPING_WIKI (122 stars, last pushed 13d ago), licensed MIT. It adds 87 tokens to every session and 1,278 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.