Download for MacApple silicon, macOS 14+
Skill

email

@val-town Updated 2026-10-13

Use when a val sends email, receives email, or is triggered by an incoming email. Covers email-type vals (the Email handler shape, attachment limits, the assigned val email address) and sending mail via std/email.

Install

With your agent

Install OMGSkills skill "val-town/plugins:plugin/skills/email" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/val-town/plugins /tmp/plugins && ln -s /tmp/plugins/plugin/skills/email ~/.claude/skills/email

From README

Email Val Town supports both directions: vals can be triggered by incoming mail (email-type vals) and can send mail via std/email. Receiving email — email-type vals Email vals (fileType: "email") run when a message is delivered to the val's assigned address. The file must have an export — export default for the handler. Maximum 30MB per message, including attachments. Larger messages will be rejected. Reading the assigned address When you list files or create an email-type file, the response includes links.email — the address that triggers this val. Always read this from the API response. Never construct an email address yourself — the format is owned by the platform and may change. Sending email — std/email For outgoing mail, import from std/email: std/email exports email as the send function itself — call it directly (email({ ... })); there is no email.send method. It accepts the shape you'd expect: to, subject, text, html, plus from, cc, bcc, replyTo, attachments, and headers.