Skip to content

feat: Gmail batchDelete #2

@lexi-chief-of-staff

Description

@lexi-chief-of-staff

Add batchDelete method to GmailDriver using Gmail API users.messages.batchDelete endpoint.

Spec:

  • Input: array of message IDs (max 1000/batch)
  • Permanent delete (no trash)—confirm via param permanent=true
  • Rate-limit queue via Laravel jobs
  • Return: deleted IDs + errors
  • Tests: mock batch, single ID, oversized batch split

Enables Lexi bulk cleanup (spam/tests). Careful: no undo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions