Email Operations
What Does Scheduled Mean in an Email Queue?
Published 2026-09-20 · CSV Sender
SCHEDULED rows have scheduled_at or next_retry_at and are eligible for the worker claim_due_messages RPC when campaigns are RUNNING.
Quick answer
SCHEDULED means a message has a future or due scheduled_at timestamp (or a retry via next_retry_at) and can be claimed by the send worker when the campaign is sendable. CSV Sender transitions PENDING rows to SCHEDULED during buildSchedule, and failed transient sends return to SCHEDULED with updated next_retry_at per computeNextRetry.
Scheduling inputs
Campaign config includes timezone, working days, working hours, daily limit, and schedule seed (randomized email scheduling). The scheduler assigns timestamps respecting send emails business hours and daily email sending limit.
Worker claim path
Cron invokes processDueMessages, which calls claim_due_messages RPC. Claimed rows move to SENDING while Gmail send runs (email status sending). Stale SENDING rows may release back to SCHEDULED if campaigns pause.
Retries reuse SCHEDULED
On retryable errors, markMessageFailed sets:
status: SCHEDULEDretry_countincrementednext_retry_atfrom backoff (email send retries)
Non-retryable errors end FAILED without future schedule (email status failed).
Pause and resume
PAUSED campaigns cause worker to skip processing—due SCHEDULED rows wait (pause email campaign). Resume recalculates remaining schedule from now (resume email queue).
Monitoring scheduled backlog
Large SCHEDULED counts with flat SENT may indicate Gmail errors or limits (Gmail sending stopped). Check FAILED subset and sender REAUTH_REQUIRED states.
Example
400 SCHEDULED rows across ten weekdays. Daily limit 40. Each date key shows ~40 messages due between working hours. Rate-limit failure on row 22 reschedules that row three hours later—still SCHEDULED, not PENDING.
FAQ
Is scheduled_at in UTC?
Stored in ISO timestamps interpreted with campaign timezone rules.
Can two rows share identical scheduled_at?
Spread logic jitter reduces collisions (spread emails throughout the day).
Do SCHEDULED rows skip suppression check?
Worker always checks suppression at send (email suppression list).
What statuses are not scheduled?
SENT, FAILED (terminal), SKIPPED, UNSUBSCRIBED.
How does preview count SCHEDULED?
Schedule preview includes PENDING and SCHEDULED counts (preview mail merge emails).
Related reading
- Fixed interval vs paced email
- Email scheduling time zones
- DST scheduled emails
- How long to send 1,000 emails
Reading the schedule calendar
Each SCHEDULED row’s scheduled_at maps to a local date key in campaign timezone (email scheduling time zones). Daylight-saving transitions may shift apparent clock times—see DST scheduled emails.
When next_retry_at is set, treat the row as SCHEDULED even if the original campaign day passed—retries are first-class scheduled work (email send retries).
If many rows share a date key, confirm spread emails throughout the day jitter is enabled via schedule seed (randomized email scheduling).
Overdue SCHEDULED rows
If clock time passes scheduled_at but mail has not sent, verify campaign RUNNING, Gmail CONNECTED, and cron worker health (campaign send worker). Stuck SENDING may revert to SCHEDULED when campaigns are not sendable.
Production send discipline
Treat each CSV upload as a production release: freeze copy, validate structure, dedupe recipients, sync suppression, preview representative rows, and only then set campaigns RUNNING. CSV Sender’s model—prepared email, subject, and body columns, paced scheduling, workspace-level opt-outs, duplicate guards, and bounded Gmail retries—rewards teams that invest in export quality upstream rather than debugging merge tokens downstream. When results look wrong, start from message statuses and skip reasons before blaming Gmail; most surprises trace to data preparation (validate CSV before emailing), list hygiene (remove duplicate emails from CSV), or sender OAuth (Gmail OAuth for email sending). Revisit scheduling articles if timing—not content—is the issue (schedule emails from CSV).
Production send discipline
Treat each CSV upload as a production release: freeze copy, validate structure, dedupe recipients, sync suppression, preview representative rows, and only then set campaigns RUNNING. CSV Sender’s model—prepared email, subject, and body columns, paced scheduling, workspace-level opt-outs, duplicate guards, and bounded Gmail retries—rewards teams that invest in export quality upstream rather than debugging merge tokens downstream. When results look wrong, start from message statuses and skip reasons before blaming Gmail; most surprises trace to data preparation (validate CSV before emailing), list hygiene (remove duplicate emails from CSV), or sender OAuth (Gmail OAuth for email sending). Revisit scheduling articles if timing—not content—is the issue (schedule emails from CSV).
Production send discipline
Treat each CSV upload as a production release: freeze copy, validate structure, dedupe recipients, sync suppression, preview representative rows, and only then set campaigns RUNNING. CSV Sender’s model—prepared email, subject, and body columns, paced scheduling, workspace-level opt-outs, duplicate guards, and bounded Gmail retries—rewards teams that invest in export quality upstream rather than debugging merge tokens downstream. When results look wrong, start from message statuses and skip reasons before blaming Gmail; most surprises trace to data preparation (validate CSV before emailing), list hygiene (remove duplicate emails from CSV), or sender OAuth (Gmail OAuth for email sending). Revisit scheduling articles if timing—not content—is the issue (schedule emails from CSV).
Related articles
Email Operations
What Does Pending Mean in an Email Queue?
PENDING means a validated CSV row is queued as a message but has no scheduled_at yet—waiting for campaign start or scheduling pass.
Email Operations
Why Email Sending Systems Need Retries
CSV Sender classifies Gmail errors, retries up to five times with exponential backoff minutes, and reschedules rows to SCHEDULED with next_retry_at.
Email Scheduling
Randomized Email Scheduling: What It Actually Means
CSV Sender adds seeded jitter to scheduled send times so rows do not align on identical minutes—without claiming randomized timing guarantees deliverability.
Email Scheduling
How to Resume an Email Queue Without Sending Everything at Once
Move a CSV Sender campaign from PAUSED to RUNNING and reschedule remaining prepared rows with fresh timestamps via rescheduleRemaining.
Permalink: http://localhost:3000/blog/email-status-scheduled