Optionally deliver an EPUB e-book to a user's Kindle using safe, ToS-compliant adapters (zero-config Amazon Send-to-Kindle web handoff, automated SMTP email to @kindle.com, macOS Send to Kindle.app / Mail.app, or Resend API). Use when the user explicitly asks to send or email an EPUB to their Kindle or wants to configure Kindle delivery.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Send To Kindle?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mrmike-send-to-kindle)
---
name: send-to-kindle
description: >-
Optionally deliver an EPUB e-book to a user's Kindle using safe,
ToS-compliant adapters (zero-config Amazon Send-to-Kindle web handoff,
automated SMTP email to @kindle.com, macOS Send to Kindle.app / Mail.app,
or Resend API). Use when the user explicitly asks to send or email an EPUB
to their Kindle or wants to configure Kindle delivery.
license: Apache-2.0
compatibility: >-
Requires Python 3.9+ (stdlib only; zero required dependencies). Network
access required for smtp and resend adapters; macOS required for app and
mailapp adapters.
metadata:
author: md2kindle
version: "1.0.0"
---
# Send EPUB to Kindle (Optional Delivery Skill)
Deliver a local `.epub` file to a Kindle using pluggable, zero-dependency, ToS-compliant adapters.
## Security Rules (Mandatory)
- **Never** pass passwords or API keys as CLI arguments (they leak in shell history and process lists).
- **Never** write secrets into `config.json` or any repository file.
- Secrets must come **only** from environment variables (`KINDLE_SMTP_PASSWORD`, `RESEND_API_KEY`) or the user's OS Keychain (`security` on macOS, `secret-tool` on Linux).
- Always confirm with the user before actually sending an email (`--dry-run` is safe to run first).
## Procedure
1. **Check current delivery configuration**
Run [scripts/send_to_kindle.py](./scripts/send_to_kindle.py):
```bash
python3 scripts/send_to_kindle.py status
```
2. **Choose the right adapter**
- **Zero setup / files > 18 MB (up to 200 MB)**: Use `web` (opens `https://www.amazon.com/sendtokindle` and reveals the EPUB file in Finder/Explorer for drag-and-drop).
- **Fully automated headless delivery**: Use `smtp` (sends directly to `<user>@kindle.com` via Gmail, Fastmail, iCloud, or custom SMTP).
- If not configured yet, guide the user to run `python3 scripts/send_to_kindle.py setup` interactively (takes <2 minutes) or read [references/delivery-setup.md](./references/delivery-setup.md).
- Verify credentials with `python3 scripts/send_to_kindle.py test` (checks SMTP login without sending email).
- **Zero stored secrets on macOS**: Use `app` (`Send to Kindle.app`) or `mailapp` (opens a pre-filled Mail.app draft with attachment).
- **CI / blocked SMTP ports (verified custom domain)**: Use `resend` with `RESEND_API_KEY`.
3. **Dry-run and send**
```bash
# Preview adapter, size limit check, and recipient
python3 scripts/send_to_kindle.py send <book.epub> --dry-run
# Deliver (auto selects configured mode, or pass --method web|smtp|app|mailapp|resend)
python3 scripts/send_to_kindle.py send <book.epub>
```
## Troubleshooting
- If an EPUB exceeds the SMTP provider's safe raw cap (e.g., `18 MB` on Gmail, `14 MB` on iCloud, `48 MB` on Fastmail), switch to `--method web` (200 MB limit).
- If Amazon sends a manual "Verify Request" email every time, check [references/delivery-setup.md](./references/delivery-setup.md) for the **prefix similarity fix** (ensure the prefix before `@kindle.com` differs from the sender prefix).