> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lettr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Lettr is an email infrastructure platform for developers, offering reliable transactional and marketing delivery, inbound email forwarding, and tracking.

Lettr is an email infrastructure platform built for developers who need reliable, scalable email delivery without the complexity. Whether you're sending transactional emails like password resets and order confirmations, or building sophisticated email workflows with tracking and analytics, Lettr provides the APIs and tools to get it done.

Email delivery is deceptively complex. Between authentication protocols like SPF, DKIM, and DMARC, reputation management, bounce handling, and the ever-changing landscape of spam filtering, building reliable email infrastructure from scratch is a significant undertaking. Lettr handles this complexity so you can focus on your application.

## Official SDKs

[lettr-php
on GitHub (opens in a new tab)](https://github.com/lettr-com/lettr-php)

`composer require lettr/lettr-php`

[lettr-laravel
on GitHub (opens in a new tab)](https://github.com/lettr-com/lettr-laravel)

`composer require lettr/lettr-laravel`

[lettr-node
on GitHub (opens in a new tab)](https://github.com/lettr-com/lettr-node)

`npm install lettr`

[lettr-python
on GitHub (opens in a new tab)](https://github.com/lettr-com/lettr-python)

`pip install lettr`

[lettr-go
on GitHub (opens in a new tab)](https://github.com/lettr-com/lettr-go)

`go get github.com/lettr-com/lettr-go`

[lettr-rust
on GitHub (opens in a new tab)](https://github.com/lettr-com/lettr-rust)

`cargo add lettr`

[lettr-java
on GitHub (opens in a new tab)](https://github.com/lettr-com/lettr-java)

`implementation 'com.lettr:lettr-java:1.7.0'`

## What You Can Build with Lettr

> [card] Transactional Emails
>
> Password resets, order confirmations, shipping notifications, account alerts, and any email triggered by user actions.

> [card] Marketing Campaigns
>
> Newsletters, announcements, and promotional emails with open and click tracking.

> [card] Inbound Processing
>
> Receive incoming emails on your own endpoint to power support tickets, reply detection, and automated workflows.

> [card] Email Automation
>
> Build complex email flows with webhooks, templates, and real-time event tracking.

## Core Capabilities

Lettr provides everything you need for production email infrastructure:

> [accordion] Send at Scale
>
> Send individual emails or batch thousands with a single API call. Lettr handles queuing, delivery optimization, and retry logic automatically. Support for HTML, plain text, and AMP email formats with automatic MIME handling.

> [accordion] Domain Authentication
>
> Configure SPF, DKIM, and DMARC records through the dashboard or API. Lettr guides you through DNS setup and verifies your configuration to ensure maximum deliverability. Support for multiple sending domains, tracking domains, and custom storage domains for email assets.

> [accordion] Real-Time Tracking
>
> Track opens, clicks, bounces, spam complaints, and unsubscribes as they happen. Receive instant webhook notifications or query the API for detailed analytics. Custom tracking domains keep your brand visible in every link.

> [accordion] Template System
>
> Create email templates with the visual Topol.io editor or write HTML directly. Use variables for personalization and store templates in Lettr for consistent branding across your application.

> [accordion] Suppression Management
>
> Automatic handling of bounces, spam complaints, and unsubscribes protects your sender reputation. Lettr maintains suppression lists and prevents sending to problematic addresses without any code on your part.

> [accordion] Inbound Email
>
> Receive emails at your domain and process them programmatically. Each message is posted as JSON to your forwarding URL with the sender, recipient, subject, text and HTML body, headers, and the full raw message, which you can parse for attachments. Build support inboxes, reply detection, or any workflow that starts with an incoming email.

## Get Started

Choose your integration path and send your first email:

> [card] [Laravel](https://docs.lettr.com/quickstart/laravel/introduction.md)
>
> Official SDK with interactive setup

> [card] [PHP](https://docs.lettr.com/quickstart/php/introduction.md)
>
> Get started with Lettr using PHP

> [card] [Node.js](https://docs.lettr.com/quickstart/nodejs/introduction.md)
>
> Get started with Lettr using Node.js

> [card] [SMTP](https://docs.lettr.com/quickstart/smtp/introduction.md)
>
> Connect via SMTP protocol

> [!TIP]
>
> Prefer to be walked through it? **Adamko**, Lettr's built-in [AI assistant](https://docs.lettr.com/learn/ai-assistant/introduction.md), can set up your account for you — brand kit, branded transactional templates, sending domain, and API key — from nothing but your website URL.

## How It Works

**1. Get Your API Key**

Create an account at [app.lettr.com](https://app.lettr.com) and generate an API key from your dashboard. Keys can be scoped to sending-only or full access.

**2. Verify Your Domain**

Add your sending domain and configure DNS records for SPF, DKIM, and DMARC authentication. Lettr provides the exact records to add and verifies your setup.

**3. Send Your First Email**

Make a single API call to send an email. Lettr handles delivery, tracking, and bounce processing automatically.

**4. Monitor and Iterate**

Track delivery metrics in the dashboard or receive real-time webhook notifications. Use analytics to optimize your email strategy.

## Why Lettr?

> [accordion] Developer-First Experience
>
> Clean REST APIs with predictable responses, comprehensive SDKs for popular languages, and documentation written by developers for developers. No enterprise sales calls required—sign up and start building.

> [accordion] High Deliverability
>
> Lettr maintains relationships with major email providers and continuously optimizes delivery infrastructure. Automatic warm-up for new domains, reputation monitoring, and feedback loop integration help ensure your emails reach the inbox.

> [accordion] Real-Time Visibility
>
> Know exactly what's happening with every email. Track delivery status, opens, clicks, and bounces as they occur. Webhooks deliver events in real-time, and the dashboard provides at-a-glance analytics.

> [accordion] Flexible Integration
>
> Use the REST API directly, integrate with official SDKs, or connect via standard SMTP. Lettr fits into your existing stack without requiring architectural changes. Works with serverless functions, traditional servers, and everything in between.

## Explore the Documentation

> [card] [API Keys](https://docs.lettr.com/learn/api-keys/introduction.md)
>
> Authentication and permissions

> [card] [Domains](https://docs.lettr.com/learn/domains/introduction.md)
>
> SPF, DKIM, and DMARC setup

> [card] [Sending](https://docs.lettr.com/learn/sending/introduction.md)
>
> Email delivery options

> [card] [Webhooks](https://docs.lettr.com/learn/webhooks/introduction.md)
>
> Real-time event notifications

> [card] [Templates](https://docs.lettr.com/learn/templates/topol-editor.md)
>
> Visual email editor

> [card] [Multilingual Campaigns](https://docs.lettr.com/learn/multilingual-campaigns/introduction.md)
>
> One campaign, every language

> [card] [Integrations](https://docs.lettr.com/integrations/introduction.md)
>
> Stripe, Supabase, WordPress

> [card] [AI Assistant](https://docs.lettr.com/learn/ai-assistant/introduction.md)
>
> Adamko, your in-app helper

> [card] [API Reference](https://docs.lettr.com/api-reference/introduction.md)
>
> Complete API documentation


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.