VM0VM0
Agent Skills

Mailsac

Disposable email testing and validation with Mailsac API

Mailsac is a disposable email service for testing and development. This skill enables your agent to receive test emails, validate addresses, manage private inboxes, and configure webhooks.

Required Environment

NameTypeDescription
MAILSAC_API_KEYsecretMailsac API key

Get your API key from your Mailsac account dashboard after signup.

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    framework: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/mailsac

Run

Store your secret on the platform (recommended, one-time setup):

vm0 secret set MAILSAC_API_KEY your-mailsac-api-key

Then run your agent - secrets are automatically loaded:

vm0 run my-agent "check for new test emails"

For CI/CD or temporary overrides, pass secrets at runtime: --secrets MAILSAC_API_KEY=value. See Environment Variables for details.

Example Instructions

AGENTS.md
# Email Test Agent

You use Mailsac to test email delivery workflows.

## Workflow

1. Reserve a private test inbox
2. Trigger the email sending workflow
3. Check the inbox for the delivered message
4. Validate email content and headers

## Checks

- Verify subject line matches expected format
- Confirm sender address is correct
- Check for required links in the body
- Validate that attachments are present
AGENTS.md
# Email Validation Agent

You use Mailsac to validate email addresses.

## Workflow

1. Accept a list of email addresses
2. Validate each address format
3. Check for disposable email domains
4. Return validation results with reasons

## Output

- valid: proper format and real domain
- disposable: uses a temporary email service
- invalid: malformed or unreachable domain