Switch email transport to nodemailer direct (no SMTP relay)#479
Closed
Switch email transport to nodemailer direct (no SMTP relay)#479
Conversation
Agent-Logs-Url: https://github.com/qbreader/website/sessions/9efb578a-9054-4d97-ac50-02938e3fd7d8 Co-authored-by: geoffrey-wu <42471355+geoffrey-wu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add nodemailer direct transport for sending emails
Switch email transport to nodemailer direct (no SMTP relay)
Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Drops the MailerSend SMTP relay in favour of nodemailer's built-in direct transport, which resolves recipient MX records via DNS and delivers mail without third-party credentials.
Transport change
EMAIL_USERNAMEandEMAIL_PASSWORDare no longer used.Optional DKIM signing
If
DKIM_PRIVATE_KEYandDKIM_SELECTORenv vars are set, the transporter automatically signs all outgoing mail.Required DNS records
Documented in the file header — five records needed before direct delivery will be accepted by major receivers:
@v=spf1 ip4:<IP> ~all<selector>._domainkey.qbreader.org_dmarc.qbreader.orgv=DMARC1; p=quarantine; …mail.qbreader.org↔<server IP>namein transport config@mail.qbreader.org(for receiving replies)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.