← Back to Skills Marketplace
caopulan

Email Notify

by caopulan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
50
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install email-notify
Description
Send SMTP email notifications after Codex completes a task. Use when one Codex or Claude run is finished, or when you need to notify on task completion with...
README (SKILL.md)

Email Notify

Overview

Send an email notification after each Codex task. Use the helper script to resolve the project name and send via SMTP.

User Preparation

1) Configure environment variables

Add the following lines to ~/.bashrc (Linux) or ~/.zshrc (macOS):

export CODEX_MACHINE_NAME="Machine-name" # e.g., Macbook
export CODEX_EMAIL_SMTP_HOST="smtp.example.com"
export CODEX_EMAIL_SMTP_PORT="587"
export CODEX_EMAIL_USERNAME="[email protected]"
export CODEX_EMAIL_PASSWORD="..."
export CODEX_EMAIL_FROM="[email protected]"
export CODEX_EMAIL_TO="[email protected],[email protected]"
export CODEX_EMAIL_USE_TLS="false" # true/false, default false
export CODEX_EMAIL_USE_SSL="true" # true/false, default true

If your SMTP server does not require auth, leave CODEX_EMAIL_USERNAME and CODEX_EMAIL_PASSWORD unset. Set CODEX_EMAIL_USE_SSL to true for SMTPS (typically port 465) and CODEX_EMAIL_USE_TLS to true for STARTTLS. Do not set both CODEX_EMAIL_USE_TLS and CODEX_EMAIL_USE_SSL to true.

2) Add instruction in project AGENTS.md

For example, add this instruction to AGENTS.md:

Use skill email-notify to notify users when each agent run is finished or when any notifications would be sent to users.

Workflow

1) Provide a project name source (optional)

  • To override the folder name, define a project name in AGENTS.md using one of:
    • YAML frontmatter: project_name: My Project (or name:)
    • A plain line: Project Name: My Project
  • If no name is found, the script uses the project folder name.

2) Send the notification at task completion

  • Generate a short task title (3-8 words).
  • Pick an execution status: success, failed, partial, blocked, etc.
  • Write a brief result summary; avoid secrets.

Run:

python3 ~/.codex/skills/email-notify/scripts/send_email_notification.py \
  --task-title "..." \
  --status "success" \
  --summary "..." \
  --project-name "..."

Resources

  • scripts/send_email_notification.py: Send the email notification and resolve the project name.
Usage Guidance
Install only if you are comfortable sending task title, device name, project name, status, and summary to the configured email recipients through your SMTP provider. Keep summaries free of secrets, use app-specific SMTP credentials when possible, and consider running the helper with --dry-run first to preview the exact message.
Capability Assessment
Purpose & Capability
The stated purpose is email notifications after Codex tasks, and the script implements that by sending device, project, status, and summary fields through SMTP.
Instruction Scope
The skill suggests adding an AGENTS.md instruction to notify after each run, so users should only add that instruction where recurring completion emails are wanted.
Install Mechanism
The artifact contains a markdown skill file and one Python helper script, with no package installation, startup hook, or hidden installer behavior.
Credentials
It reads SMTP configuration and credentials from CODEX_EMAIL_* environment variables and reads AGENTS.md only to derive a project name; this is proportionate to the notification purpose.
Persistence & Privilege
There is no background persistence or privilege escalation, but the setup recommends storing SMTP credentials in shell startup files, which users should protect carefully.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install email-notify
  3. After installation, invoke the skill by name or use /email-notify
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of email-notify. - Sends SMTP email notifications after each Codex task is completed. - Supports customizable environment variables for SMTP settings and recipients. - Automatically detects project name from AGENTS.md or project folder. - Provides a script to send task status, device name, summary, and project info via email. - Designed for easy integration with Codex and Claude workflows.
Metadata
Slug email-notify
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Email Notify?

Send SMTP email notifications after Codex completes a task. Use when one Codex or Claude run is finished, or when you need to notify on task completion with... It is an AI Agent Skill for Claude Code / OpenClaw, with 50 downloads so far.

How do I install Email Notify?

Run "/install email-notify" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Email Notify free?

Yes, Email Notify is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Email Notify support?

Email Notify is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Email Notify?

It is built and maintained by caopulan (@caopulan); the current version is v1.0.0.

💬 Comments