Skip to content

Make the email sender configurable for self-hosters - #2

Merged
Heilonng23 merged 2 commits into
Heilonng23:mainfrom
happy-webs:configurable-email-sender
Oct 3, 2026
Merged

Heilonng23 merged 2 commits into
Heilonng23:mainfrom
happy-webs:configurable-email-sender

Conversation

@chrisjohnleah

Copy link
Copy Markdown
Contributor

Self-hosted instances can't send from hello@openheard.com, because Cloudflare Email Sending only sends from domains onboarded on your own account, so magic links and notifications fail.

This adds two optional settings, EMAIL_FROM and EMAIL_FROM_NAME (in packages/infra/.env, passed through alchemy.run.ts). When EMAIL_FROM is set, sendEmail uses it; unset, behaviour is unchanged (hello@openheard.com).

Documented in packages/infra/.env.example.

EMAIL_FROM and EMAIL_FROM_NAME let a self-hosted instance send magic links
and notifications from its own Cloudflare Email Sending domain. Unset, it
keeps using hello@openheard.com.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants