# SMTP Email Delivery Service

## Links

- Product page URL: https://www.agentpmt.com/marketplace/smtp-email-delivery-service
- Product markdown URL: https://www.agentpmt.com/marketplace/smtp-email-delivery-service?format=agent-md
- Product JSON URL: https://www.agentpmt.com/marketplace/smtp-email-delivery-service?format=agent-json

## Overview

- Product ID: 68bf8f07b0ef2f262f41dace
- Vendor: Apoth3osis
- Type: communications
- Unit type: request
- Price: 500 credits
- Categories: Developer Tools, Network Protocols, IoT & Automation, Project Management, Temporary Email & Verification, Automation
- Generated at: 2026-04-15T18:28:44.864Z

### Page Description

SMTP Mailer is a streamlined email sending service designed for AI agents and automation workflows to deliver messages through any standard SMTP server. It accepts connection credentials via an intuitive URL format supporting both plain SMTP and encrypted SMTPS connections, making configuration straightforward without complex parameter handling. Recipients can be specified as a single address, an array, or a comma-separated string, with support for CC and BCC fields for flexible distribution. The tool sends both plain text and HTML formatted emails, enabling rich content delivery including formatted newsletters, styled notifications, and branded communications. File attachments are supported through base64-encoded content with configurable MIME types for documents, images, and other media. Email priority levels allow marking messages as low, normal, or high importance for recipient mail client handling. The sender address can be explicitly set or automatically derived from the SMTP username, simplifying configuration for common use cases. This tool is optimized specifically for email delivery. For workflows requiring additional protocols such as FTP file transfers, SSH command execution, or MQTT messaging alongside email, use the Protocol Bridge tool which provides a unified interface across multiple network protocols.

### Agent Description

Send emails via SMTP with HTML/text body, attachments, CC/BCC, and priority levels. Supports SMTPS encryption.

## Details Tab

### Details

SMTP Mailer is a streamlined email sending service designed for AI agents and automation workflows to deliver messages through any standard SMTP server. It accepts connection credentials via an intuitive URL format supporting both plain SMTP and encrypted SMTPS connections, making configuration straightforward without complex parameter handling. Recipients can be specified as a single address, an array, or a comma-separated string, with support for CC and BCC fields for flexible distribution. The tool sends both plain text and HTML formatted emails, enabling rich content delivery including formatted newsletters, styled notifications, and branded communications. File attachments are supported through base64-encoded content with configurable MIME types for documents, images, and other media. Email priority levels allow marking messages as low, normal, or high importance for recipient mail client handling. The sender address can be explicitly set or automatically derived from the SMTP username, simplifying configuration for common use cases. This tool is optimized specifically for email delivery. For workflows requiring additional protocols such as FTP file transfers, SSH command execution, or MQTT messaging alongside email, use the Protocol Bridge tool which provides a unified interface across multiple network protocols.

### Actions

- `send` (5 credits): Send an email via an SMTP server. Supports plain text and HTML body formats, CC/BCC recipients, file attachments (base64-encoded), and priority levels.

### Use Cases

SMTP email sending, automated email delivery, transactional email, notification email, alert email sending, AI agent email, LLM email integration, workflow email automation, HTML email sending, rich text email, formatted email delivery, email with attachments, document email delivery, PDF email attachment, image email attachment, bulk email sending, multiple recipient email, CC BCC email, email priority setting, high priority email, Gmail SMTP integration, Outlook SMTP sending, Office 365 email automation, SendGrid SMTP, Mailgun SMTP, custom SMTP server, secure email SMTPS, TLS encrypted email, email newsletter delivery, welcome email automation, password reset email, order confirmation email, shipping notification email, appointment reminder email, invoice email delivery, report email automation, scheduled email sending, webhook email trigger, chatbot email sending, customer notification, support ticket email, status update email, error alert email, monitoring notification email, email marketing automation, drip campaign email

### Workflows Using This Tool

No public workflows currently reference this product.

### Related Content

No related content is currently linked to this product.

## Advanced Tab

### DynamicMCP

- Setup page URL: https://www.agentpmt.com/dynamic-mcp
- Claude setup guide: https://www.agentpmt.com/dynamic-mcp?platform=claude#videos
- ChatGPT setup guide: https://www.agentpmt.com/dynamic-mcp?platform=chatgpt#videos
- Cursor setup guide: https://www.agentpmt.com/dynamic-mcp?platform=cursor#videos
- Windsurf setup guide: https://www.agentpmt.com/dynamic-mcp?platform=windsurf#videos

STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections. This lightweight connector routes requests to `https://api.agentpmt.com/mcp`. All tool execution happens in the cloud and the server cannot edit any files on your computer.

```bash
npm install -g @agentpmt/mcp-router
agentpmt-setup
```

### REST API

The live page renders cURL, Python, JavaScript, and Node.js examples. Logged-in users see those examples prefilled with their own API and budget credentials.

- Purchase endpoint: https://api.agentpmt.com/products/purchase
- Authorization format: `Bearer <base64(apiKey:budgetKey)>`

```bash
curl -X POST "https://api.agentpmt.com/products/purchase" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer eW91ci1hcGkta2V5LWhlcmU6eW91ci1idWRnZXQta2V5LWhlcmU=" \
  -d '{
    "product_id": "68bf8f07b0ef2f262f41dace",
    "parameters": {
      "action": "send",
      "smtp_url": "example_smtp_url",
      "to": [],
      "subject": "example_subject",
      "body": "example_body",
      "body_type": "plain",
      "priority": "normal"
    }
  }'
```

### Autonomous Agents

Do not use the abbreviated instructions in this product markdown for wallet-based invocation. Retrieve the full External Agent API markdown document instead.

- External Agent API page URL: https://www.agentpmt.com/external-agent-api
- External Agent API markdown URL: https://www.agentpmt.com/external-agent-api?format=agent-md

### Schema

#### Parameters

- Schema type: actions

```json
{
  "actions": {
    "send": {
      "description": "Send an email via an SMTP server. Supports plain text and HTML body formats, CC/BCC recipients, file attachments (base64-encoded), and priority levels.",
      "properties": {
        "smtp_url": {
          "type": "string",
          "description": "SMTP server URL with credentials. Format: smtp://username:password@hostname:port (STARTTLS, port 587) or smtps://username:password@hostname:port (SSL/TLS, port 465). Gmail requires an App Password.",
          "required": true
        },
        "to": {
          "type": "array",
          "description": "Recipient email address(es). At least one is required. Can also accept a single string or comma-separated string.",
          "required": true,
          "items": {
            "type": "string"
          }
        },
        "subject": {
          "type": "string",
          "description": "Email subject line.",
          "required": true
        },
        "body": {
          "type": "string",
          "description": "Email body content. Can be plain text or HTML depending on body_type.",
          "required": true
        },
        "from_email": {
          "type": "string",
          "description": "Sender email address. Defaults to the username from smtp_url. Useful when sending from a different address than the authenticated account.",
          "required": false
        },
        "body_type": {
          "type": "string",
          "description": "Email body format: 'plain' for plain text (default), 'html' for HTML content.",
          "enum": [
            "plain",
            "html"
          ],
          "default": "plain",
          "required": false
        },
        "cc": {
          "type": "array",
          "description": "CC (Carbon Copy) recipients. Visible to all recipients.",
          "required": false,
          "items": {
            "type": "string"
          }
        },
        "bcc": {
          "type": "array",
          "description": "BCC (Blind Carbon Copy) recipients. Hidden from other recipients.",
          "required": false,
          "items": {
            "type": "string"
          }
        },
        "attachments": {
          "type": "array",
          "description": "File attachments (max 25MB total). Each object requires filename and base64-encoded content, with optional content_type MIME type.",
          "required": false,
          "items": {
            "type": "object",
            "properties": {
              "filename": {
                "type": "string",
                "description": "File name with extension (e.g., report.pdf).",
                "required": true
              },
              "content": {
                "type": "string",
                "description": "Base64-encoded file content.",
                "required": true
              },
              "content_type": {
                "type": "string",
                "description": "MIME type (e.g., application/pdf). Defaults to application/octet-stream.",
                "required": false
              }
            }
          }
        },
        "priority": {
          "type": "string",
          "description": "Email priority level. Sets the X-Priority header: 'low' (5), 'normal' (3), or 'high' (1).",
          "enum": [
            "low",
            "normal",
            "high"
          ],
          "default": "normal",
          "required": false
        }
      }
    }
  },
  "properties": {
    "action": {
      "type": "string",
      "description": "Use 'get_instructions' to retrieve documentation. Action to perform: send",
      "required": false,
      "default": "send",
      "enum": [
        "get_instructions",
        "send"
      ]
    },
    "smtp_url": {
      "type": "string",
      "description": "SMTP server URL containing host, port, and credentials. The URL scheme determines security:\n\n• smtp:// - STARTTLS on port 587 (recommended)\n• smtps:// - SSL/TLS on port 465\n\nFormat: smtp://username:password@hostname:port\n\nExamples:\n• Gmail: smtp://your.email@gmail.com:app-password@smtp.gmail.com:587\n• Outlook: smtp://your.email@outlook.com:password@smtp-mail.outlook.com:587\n• Custom: smtp://user:pass@mail.example.com:587\n\nNote: Gmail requires App Password (not regular password). Generate at: https://myaccount.google.com/apppasswords",
      "required": false
    },
    "to": {
      "type": "array",
      "description": "Recipient email address(es). Required field. Can be:\n• Array of strings: [\"user1@example.com\", \"user2@example.com\"]\n• Single string: \"user@example.com\"\n• Comma-separated: \"user1@example.com,user2@example.com\"\n\nAt least one recipient is required.",
      "required": false,
      "items": {
        "type": "string"
      }
    },
    "subject": {
      "type": "string",
      "description": "Email subject line. Required field. Keep concise and descriptive.\n\nExamples:\n• \"Monthly Report - January 2025\"\n• \"Password Reset Request\"\n• \"Welcome to Our Platform!\"",
      "required": false
    },
    "body": {
      "type": "string",
      "description": "Email body content. Required field. Can be plain text or HTML depending on body_type.\n\nPlain text example:\n\"Hello,\\n\\nThank you for signing up!\\n\\nBest regards,\\nThe Team\"\n\nHTML example:\n\"<html><body><h1>Welcome!</h1><p>Thank you for <strong>signing up</strong>.</p></body></html>\"",
      "required": false
    },
    "from_email": {
      "type": "string",
      "description": "Sender email address. Optional - defaults to username from smtp_url.\n\nUseful when:\n• Authenticating with one account but sending from another\n• Using service accounts (e.g., smtp://auth@example.com but from noreply@example.com)\n\nNote: Some providers (like Gmail) enforce that from_email matches your account.\n\nExample: \"noreply@company.com\"",
      "required": false
    },
    "body_type": {
      "type": "string",
      "description": "Email body format. Determines how the body content is interpreted.\n\n• 'plain' - Plain text (default). Line breaks preserved, no formatting.\n• 'html' - HTML content. Supports formatting, images, links, etc.\n\nDefault: plain",
      "required": false,
      "default": "plain",
      "enum": [
        "plain",
        "html"
      ]
    },
    "cc": {
      "type": "array",
      "description": "CC (Carbon Copy) recipients. Optional. Visible to all recipients.\n\nArray of email addresses: [\"manager@example.com\", \"team@example.com\"]\n\nRecipients in CC receive the email and can see who else received it.",
      "required": false,
      "items": {
        "type": "string"
      }
    },
    "bcc": {
      "type": "array",
      "description": "BCC (Blind Carbon Copy) recipients. Optional. Hidden from other recipients.\n\nArray of email addresses: [\"archive@example.com\", \"audit@example.com\"]\n\nRecipients in BCC receive the email but are not visible to other recipients. Useful for:\n• Archive/audit trails\n• Private notifications\n• Mass emails where recipients shouldn't see each other",
      "required": false,
      "items": {
        "type": "string"
      }
    },
    "attachments": {
      "type": "array",
      "description": "Email attachments. Optional. Maximum total size: 25MB.\n\nEach attachment is an object with:\n• filename (string, required): File name with extension (e.g., \"report.pdf\")\n• content (string, required): Base64-encoded file content\n• content_type (string, optional): MIME type (e.g., \"application/pdf\"). Default: \"application/octet-stream\"\n\nExample:\n[\n  {\n    \"filename\": \"report.pdf\",\n    \"content\": \"JVBERi0xLjQKJeLjz9MK...\",\n    \"content_type\": \"application/pdf\"\n  },\n  {\n    \"filename\": \"data.csv\",\n    \"content\": \"TmFtZSxBZ2UsQ2l0eQ0K...\",\n    \"content_type\": \"text/csv\"\n  }\n]\n\nCommon MIME types:\n• PDF: application/pdf\n• CSV: text/csv\n• Excel: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\n• Images: image/png, image/jpeg\n• Text: text/plain",
      "required": false,
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "description": "File name with extension"
          },
          "content": {
            "type": "string",
            "description": "Base64-encoded file content"
          },
          "content_type": {
            "type": "string",
            "description": "MIME type (optional)"
          }
        }
      }
    },
    "priority": {
      "type": "string",
      "description": "Email priority/importance level. Sets the X-Priority header.\n\n• 'low' - Low priority (X-Priority: 5)\n• 'normal' - Normal priority (X-Priority: 3, default)\n• 'high' - High priority (X-Priority: 1)\n\nHigh priority emails may be marked with a red exclamation in email clients. Use sparingly to avoid being treated as spam.\n\nDefault: normal",
      "required": false,
      "default": "normal",
      "enum": [
        "low",
        "normal",
        "high"
      ]
    }
  }
}
```

### Usage Instructions

# SMTP Email Delivery Service

Send emails through any SMTP server with support for HTML content, attachments, CC/BCC, and priority settings.

## Actions

### send

Send an email via an SMTP server.

**Required Fields:**

| Field | Type | Description |
|-------|------|-------------|
| `action` | string | Must be `"send"` |
| `smtp_url` | string | SMTP server URL with credentials. Format: `smtp://username:password@hostname:port` for STARTTLS (port 587) or `smtps://username:password@hostname:port` for SSL/TLS (port 465). |
| `to` | array or string | Recipient email address(es). Accepts an array of strings, a single string, or a comma-separated string. |
| `subject` | string | Email subject line. |
| `body` | string | Email body content, plain text or HTML depending on `body_type`. |

**Optional Fields:**

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `from_email` | string | Username from `smtp_url` | Sender email address. Useful when sending from a different address than the one used for authentication. |
| `body_type` | string | `"plain"` | Body format: `"plain"` for plain text, `"html"` for HTML content. |
| `cc` | array | — | CC recipients. Array of email addresses. Visible to all recipients. |
| `bcc` | array | — | BCC recipients. Array of email addresses. Hidden from other recipients. |
| `attachments` | array | — | File attachments (max 25MB total). Each object requires `filename` (string) and `content` (base64-encoded string). Optional `content_type` (MIME type, defaults to `application/octet-stream`). |
| `priority` | string | `"normal"` | Email priority: `"low"`, `"normal"`, or `"high"`. Sets the X-Priority header. |

**Example — Send a plain text email:**

```json
{
  "action": "send",
  "smtp_url": "smtp://user:app-password@smtp.gmail.com:587",
  "to": ["recipient@example.com"],
  "subject": "Monthly Status Update",
  "body": "Hello,\n\nHere is the monthly status update.\n\nBest regards,\nThe Team"
}
```

**Example — Send an HTML email:**

```json
{
  "action": "send",
  "smtp_url": "smtps://user:pass@smtp.example.com:465",
  "to": ["recipient@example.com"],
  "subject": "Welcome!",
  "body": "<html><body><h1>Welcome!</h1><p>Thank you for signing up.</p></body></html>",
  "body_type": "html"
}
```

**Example — Send with CC, BCC, attachment, and high priority:**

```json
{
  "action": "send",
  "smtp_url": "smtp://user:pass@mail.example.com:587",
  "to": ["recipient@example.com"],
  "cc": ["manager@example.com"],
  "bcc": ["archive@example.com"],
  "subject": "Q1 Report",
  "body": "Please find the quarterly report attached.",
  "priority": "high",
  "attachments": [
    {
      "filename": "report.pdf",
      "content": "JVBERi0xLjQK...",
      "content_type": "application/pdf"
    }
  ]
}
```

**Example — Multiple recipients with a custom sender:**

```json
{
  "action": "send",
  "smtp_url": "smtp://auth-user:pass@mail.company.com:587",
  "to": ["alice@example.com", "bob@example.com"],
  "from_email": "noreply@company.com",
  "subject": "Team Announcement",
  "body": "<html><body><p>Please review the updated policy.</p></body></html>",
  "body_type": "html"
}
```

## Common Workflows

1. **Send a notification email** — Use the `send` action with plain text body to deliver a quick notification to one or more recipients.
2. **Send a formatted newsletter** — Set `body_type` to `"html"` and provide styled HTML content with images and links.
3. **Distribute a report with attachments** — Attach base64-encoded files (PDF, CSV, Excel) and send to recipients with CC for visibility.
4. **Confidential distribution** — Use `bcc` to send to multiple recipients without revealing other addresses.
5. **Urgent communication** — Set `priority` to `"high"` to flag the email as important in recipient email clients.

## Important Notes

- **Gmail users**: You must use an App Password, not your regular account password. Generate one at https://myaccount.google.com/apppasswords.
- **SMTP URL schemes**: Use `smtp://` for STARTTLS (port 587, recommended) or `smtps://` for direct SSL/TLS (port 465).
- **Attachment size limit**: Total attachment size must not exceed 25MB.
- **From address**: Some providers (like Gmail) enforce that the sender address matches the authenticated account. Use `from_email` only when your provider allows sending from an alias.
- **Priority**: Use `"high"` priority sparingly to avoid emails being flagged as spam.
- **Common MIME types for attachments**: `application/pdf`, `text/csv`, `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (Excel), `image/png`, `image/jpeg`, `text/plain`.

### About The Developer

- Vendor name: Apoth3osis
- Website: apoth3osis.io

We build tools that enable AI agents to excel in the mathematical realm.

Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.

### Frequently Asked Questions

No linked FAQs are currently available.

### Dependencies

This product has no public dependency products.