LaneshotDocs

Search the docs

Find a page or a section

Open Laneshot

Self-hosting

Email

Send confirmation, password reset, invitation, and notification emails through Resend, or keep them in the server log while you develop.

Laneshot sends these emails:

Email When
Confirm your email Someone signs up with a password, or signs in before confirming.
Reset your password Someone selects Forgot password? on the sign-in page.
Invitation An admin invites an email address. The link can still be copied from the dialog.
Mention Someone @mentions a person in a comment or a description.
Assignment A card is assigned to someone.
Due soon A card assigned to someone is due within a day. Cards in a board's last column count as done.
Payment failed With billing on, a payment fails. Sent once per invoice to owners and admins.
Read-only With billing on, the 14-day grace period after a failed payment ends. Sent to owners and admins.

People turn mention, assignment, and due-soon emails off in Account settings. The same notifications always appear in the app.

Set up Resend

  1. Create an account on Resend and add your sending domain, such as acme.com, under Domains.
  2. Add the DNS records Resend shows (SPF, DKIM, and optionally DMARC) at your DNS provider, and wait until the domain shows Verified.
  3. Under API Keys, create a key with Sending access.
  4. Set both variables on the server, then restart:
RESEND_API_KEY=re_…
EMAIL_FROM="Laneshot <notifications@acme.com>"

The sender's address must be on the verified domain. With Resend set, new password accounts must confirm their email before they can sign in. Set REQUIRE_EMAIL_VERIFICATION=false to skip that.

Without an email provider

Emails are written to the server log (subject and address only) and to the email_outbox table. In development, open /dev/emails to read them and preview every template. That page answers 404 on production builds.

On a production server without Resend:

  • Accounts work without email confirmation.
  • Forgot password? is hidden, since the reset link couldn't reach anyone.
  • Invitation links must be copied and sent by hand.

Troubleshooting

Symptom What to check
Nothing arrives The server log shows Resend refused the email with the reason, such as an unverified domain.
Emails land in spam Add the DMARC record Resend suggests, and send from your own domain rather than a free mailbox.
Confirmation links say they expired They last one hour. Signing in again sends a new one.