Stack Auth Updates #11 — New Products Sneakpeek!

Stack Auth is looking for your opinion on our upcoming products!

Welcome to Stack Auth’s weekly newsletter!

As a reminder, Stack Auth is an open-source project and we don’t put our logo or branding into your components, so we rely on the community to spread the word. If you enjoy using Stack Auth, we’d highly appreciate it if you could let your friends know.

Looking for feedback: Payments, Analytics & Marketing Mails

Payments 💸, analytics 📈, and marketing emails ✉️ are up next for Stack Auth, and we need your feedback!

If you...

  • would like to sign up for the beta for one of those

  • or have ideas that you want implemented

...we'd love to hear from you! Please let us know on our new feature tracker, in a DM to me, or in a 20 minute chat with the Stack Auth team:

Seriously, it means a lot. Lots of super exciting features ahead!!

Marketing Emails and Custom Email Templates

We now have public endpoints for email sending, and allowing users to unsubscribe.

curl -X POST "https://api.stack-auth.com/api/v1/emails/send-email" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_SERVER_API_KEY" \
  -d '{
    "user_ids": ["user123", "user456"],
    "html": "<h1>Hello!</h1><p>This is your email content.</p>{{unsubscribe_link}}",
    "subject": "Your Email Subject",
    "notification_category_name": "marketing"
  }'

From the emails tab on the right hand sidebar, there is a new “Send Email” button, which lets you send marketing or transactional emails. This will allow you to select the users to send to, as well as setting the subject, notification category, and the email content.

Send Email Recipients Modal

Send Email Content Modal

New Email Template Editor

Stack Auth now features an all-new email template editor with an integrated AI chat. It is built on-top of React Email and designed specifically for developer-friendliness and full customizability. Try it out on our Dashboard!

Full Template editor view

Email Themes

Besides email templates, Stack Auth now has themes for emails. Email themes are wrapped around every email you send, giving all your emails an elegant, polished branding! You can either choose one of our existing themes or build your own.

Interested in helping us create new themes for Stack Auth? Join our Discord and let us know!

Selecting email themes

Also: We’re hiring!

If you enjoy using Stack Auth and would love to join our team in San Francisco, we’d love to hear from you. If you’re interested, please reach out to us at [email protected]!

Bug fixes & improvements

As always, we pushed several bug fixes and minor improvements this week, including:

  • [Self-hosting] Stack Auth now migrates the database automatically when a new version is applied, and Prisma migrations don’t need to be run anymore.

  • Support for Twitch as a sign-in method & Connected Accounts

  • Various documentation fixes & improvements

Thanks for reading, and as always, see you next week!