Foundry376/Mailspring · error · Error
The from address has changed since you started sending this
Error message
The from address has changed since you started sending this draft. Double-check the draft and click 'Send' again.
What it means
SendDraftTask.willBeQueued guard: the draft's from address no longer resolves to a configured account at queue time — the account was removed, or the draft's from header changed after sending began (e.g. default identity switched). The task refuses to send to prevent delivering mail from an address the user no longer controls.
Source
Thrown at app/src/flux/tasks/send-draft-task.ts:128
// Note: accountId and headerMessageId accessors are defined after class
// declaration using Object.defineProperty to work around TypeScript 5
// property/accessor override restrictions
label() {
return this.silent ? null : localized('Sending message');
}
willBeQueued() {
if (!this.draft.from[0]) {
throw new Error('SendDraftTask - you must populate `from` before sending.');
}
const account = AccountStore.accountForEmail(this.draft.from[0].email);
if (!account) {
throw new Error('SendDraftTask - you can only send drafts from a configured account.');
}
if (this.draft.accountId !== account.id) {
throw new Error(
localized(
"The from address has changed since you started sending this draft. Double-check the draft and click 'Send' again."
)
);
}
}
onSuccess() {
Actions.draftDeliverySucceeded({
headerMessageId: this.draft.headerMessageId,
accountId: this.draft.accountId,
});
// Play the sending sound
if (AppEnv.config.get('core.sending.sounds') && !this.silent) {
SoundRegistry.playSound('send');
}
View on GitHub (pinned to 648c685d60)
Solutions
- Reopen the draft, pick a valid 'from' account in the composer, and click Send again
- Re-add the removed account or change the draft's from address to a configured one
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at app/src/flux/tasks/send-draft-task.ts:128 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Foundry376/Mailspring@648c685d60 (2026-09-03).
Data as JSON: /api/errors/e499a3b4bb35d901.
Report an issue: GitHub.