{
  "manifest": {
    "spekkr": 1,
    "id": "rook/transactional-email",
    "name": "Transactional email",
    "summary": "Send the emails an app must send: templates with a text part, a queue with retries, and a suppression list fed by bounces.",
    "keywords": [
      "smtp",
      "sendgrid",
      "postmark",
      "ses",
      "resend",
      "deliverability",
      "bounce handling",
      "mailer"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "rook",
      "name": "Rook"
    },
    "targets": {
      "platforms": [
        "backend"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "from_name",
          "label": "Sender's name",
          "default": "Acme",
          "help": "Shown as who the email is from."
        },
        {
          "key": "from_address",
          "label": "Sender's address",
          "default": "hello@example.com",
          "help": "An address on a domain you send from."
        }
      ],
      "options": [
        {
          "key": "preview_page",
          "label": "Preview page",
          "default": true,
          "help": "A page, in development only, that shows every template with sample data."
        },
        {
          "key": "provider_events",
          "label": "Hear about bounces",
          "default": true,
          "help": "An address the email service calls when a message bounces or is marked as spam."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "transport",
          "label": "How email is sent",
          "choices": [
            "http_api",
            "smtp"
          ],
          "default": "http_api",
          "help": "An email service's HTTP API, or SMTP."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "accounts": [
        "An email-sending service"
      ],
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/preview_both_templates.png",
        "shots/preview_welcome_email.png",
        "shots/preview_password_reset.png",
        "shots/preview_mobile.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL",
        "EMAIL_API_KEY",
        "EMAIL_EVENTS_SECRET"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/transactional-email."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/preview_both_templates.png": "files/shots/preview_both_templates.png",
      "shots/preview_mobile.png": "files/shots/preview_mobile.png",
      "shots/preview_password_reset.png": "files/shots/preview_password_reset.png",
      "shots/preview_welcome_email.png": "files/shots/preview_welcome_email.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "rook",
  "uploaded": {
    "shots/preview_both_templates.png": {
      "bytes": 131544,
      "type": "image/png"
    },
    "shots/preview_mobile.png": {
      "bytes": 73053,
      "type": "image/png"
    },
    "shots/preview_password_reset.png": {
      "bytes": 25292,
      "type": "image/png"
    },
    "shots/preview_welcome_email.png": {
      "bytes": 16137,
      "type": "image/png"
    }
  }
}
