# Dispatchmail — Complete Technical Reference > Dispatchmail is a native iOS 17.0+ and iPadOS 17.0+ mobile administration client for Resend (`https://api.resend.com`). Built in Swift 6 and SwiftUI, it enables developers and operators to monitor email delivery, manage domains and DNS records, schedule broadcasts, inspect API logs, manage contacts, read inbound mail, and view Home Screen widgets directly from their Apple devices without a relay server. ## 1. Security & Privacy Architecture - **Direct HTTPS Client:** Every API request flows directly from `URLSession` on the user's device to `https://api.resend.com`. There is no proxy, backend database, or telemetry relay. - **Local Keychain Storage:** Resend API keys are stored exclusively in the local iOS Keychain under service `dev.dispatchmail.apikeys` with accessibility `kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly` (never synced off-device). - **Zero Analytics / Ad SDKs:** No third-party tracking, analytics, or crash-reporting SDKs are bundled. - **Permission Requirement:** Resend **Full Access** API keys are required for domain verification, logs, webhooks, templates, and broadcast management. Sending-only keys receive HTTP `403` on management endpoints. ## 2. Core Capabilities & Screens ### Customizable Dashboard (12 Block Kinds) Users can add, reorder, resize (`small`, `medium`, `large`), and scope dashboard blocks globally, per API key, or per pinned domain across `24h`, `7d`, and `30d` windows: - `kpiSent`: Sent emails count - `kpiDelivery`: Delivery rate percentage - `kpiBounce`: Bounce rate percentage with warning state - `kpiOpenRate`: Open rate percentage - `domainHealth`: Summary of verified, pending, and failed domains - `accountSummary`: Isolated metrics for a single API key - `domainSpotlight`: Single domain detail with sparkline trend - `favoriteDomains`: Pinned favorite domains list - `otherTrackedDomains`: Compact list of tracked non-favorite domains - `recentEmails`: Latest 4 outbound emails (UNLIMITED) - `recentReceivedEmails`: Latest inbound messages (UNLIMITED) - `recentBroadcasts`: Recent and scheduled broadcasts (UNLIMITED) ### Emails & Inbound Receiving (UNLIMITED) - Quick compose and send via `POST /emails` - Sent email list (`GET /emails`), status inspection, and scheduled email cancellation (`POST /emails/{id}/cancel`) - Inbound receiving inbox (`GET /emails/receiving`, detail, HTML preview, and attachments metadata) ### Broadcasts & Analytics (UNLIMITED) - List, inspect, create, edit, schedule (ISO 8601), send, and delete broadcasts - HTML Preview, Plain Text, and raw HTML Source tabs - Daily broadcast analytics via `GET /emails/metrics`: sent, delivered, bounced, unique opened, unique clicked, complained, unsubscribed ### Audience (UNLIMITED) - Segment/audience management (`GET/POST/DELETE /segments` with `/audiences` fallback) - Contact listing, creation, updates, and deletion ### Domains, Logs, Webhooks, API Keys & Templates (UNLIMITED) - Full domain lifecycle (`GET/POST/PATCH/DELETE /domains`) and manual DNS verification (`POST /domains/{id}/verify`) for SPF, DKIM, and tracking CNAME records - Filterable API request logs (`GET /logs`, `GET /logs/{id}`) with HTTP status codes and JSON payloads - Webhook endpoint inspection, creation, and deletion (`GET/POST/DELETE /webhooks`) - API key management (`GET/POST/DELETE /api-keys`) - Template browser and detail previews (`GET /templates`, `GET /templates/{id}`) ### Local Domain Notifications (Free & UNLIMITED) Evaluated locally on-device using iOS Background App Refresh (`dev.dispatchmail.app.refresh`) against a local diff baseline (`notification_state.json`): 1. Domain DNS verification status changes 2. High bounce rate alerts (configurable threshold, 6-hour cooldown per domain) 3. Broadcast transition into sending/sent state 4. New contacts added to an audience 5. New inbound emails received on a tracked domain ### Home Screen Widgets (WidgetKit) 1. **Quick Overview (`systemSmall`, Free):** Total sent count, time range, delivery rate, and bounce rate. 2. **Favorite Domains (`systemMedium`, `systemLarge`, UNLIMITED):** Pinned domains with account color dots, sent counts, and delivery percentages. 3. **Custom Domain Widget (`systemSmall`, `systemMedium`, UNLIMITED):** App Intents configurable widget to choose a specific domain, metric (`sent`, `deliveryRate`, `bounceRate`, `openRate`), and sparkline trend toggle. ## 3. Pricing & StoreKit 2 SKUs Base pricing in USD (App Store converts automatically to local storefront currency, e.g. 79 CZK/month and 790 CZK/year in Czechia): - **Free (`$0`):** 1 active API key, customizable dashboard, per-domain notifications, Quick Overview small widget, SaaS & E-shop demo workspaces. - **UNLIMITED Monthly (`dev.dispatchmail.unlimited.monthly`, `$2.99 / month`):** Unlimited API keys, all management views, broadcasts, audience, inbound mail, and all 3 Home Screen widgets. Apple Family Sharing enabled. - **UNLIMITED Yearly (`dev.dispatchmail.unlimited.yearly`, `$29.99 / year`):** 2 months free compared to monthly billing, all UNLIMITED features with Apple Family Sharing enabled. ## 4. Troubleshooting Reference - **HTTP 401:** Invalid or revoked Resend API key. - **HTTP 403:** API key lacks permissions; generate a Full Access key in Resend. - **HTTP 429:** Resend API rate limit (10 requests/second) exceeded; wait briefly before refreshing. - **Demo Mode:** Available offline from Settings (`Add demo account (SaaS)` and `Add second demo account (E-shop)` when UNLIMITED is active). ## 5. Canonical Links & Contact - Website: https://dispatchmail.dev/ - Support & FAQ: https://dispatchmail.dev/support - Privacy Policy: https://dispatchmail.dev/privacy - Support & Privacy Email: support@dispatchmail.dev - XML Sitemap: https://dispatchmail.dev/sitemap.xml