Skip to main content

Reschedule email task

Change the scheduled time and optional email content/provider metadata for an existing email task. A past or current send_at can be sent immediately through the personal email outbox.

POST/api/task-queue/{task_id}/email/reschedule
HTTP referenceScope tasks:writeUpdated September 27, 2026

This page documents the canonical HTTP contract for this endpoint.

Path parameters

  • task_idrequired

    string

    Email task identifier.

Query parameters

  • actorUserId · optional

    string

    Optional active same-organization actor override.

Body parameters

  • send_atrequired

    string<date-time>

    New scheduled send time.

  • provider · optional

    string

    Optional email provider.

  • provider_account_email · optional

    string

    Optional sender mailbox.

  • subject · optional

    string

    Updated subject.

  • body_text · optional

    string

    Updated plain-text content.

  • body_html · optional

    string

    Updated HTML content.

  • body_format · optional

    string

    auto (default) or explicit format.

  • thread_ref · optional

    object

    Provider thread reference.

  • context_tags · optional

    array<object>

    Context tags.

  • attachments · optional

    array<object>

    Attachment descriptors.

Errors

StatusMeaning
401Authentication is missing or invalid.
403Missing tasks:write.
400Task ID format is invalid, task is not an email task, or task has no lead.
404Task or associated lead not found.
409Task requires action/review before scheduling.

Docs