Skip to main content

Install

pip install sendkit

Send email

from sendkit import SendKit

client = SendKit("sk_your_api_key")

result = client.emails.send(
    from_="Your Name <you@yourdomain.com>",
    to="recipient@example.com",
    subject="Hello from SendKit",
    html="<h1>Welcome!</h1><p>Your first email with SendKit.</p>",
)

print(result["id"])