Skip to content

P1: SES unbounded email storage — no size limit or TTL #666

Closed

Description

@agbishop

Summary

b.emails slice grows indefinitely with every SendEmail — no size limit, no cleanup, no TTL. Persistence snapshot grows unbounded.

Also: O(n) GetEmailByID — linear search through all emails (should use map for O(1) lookup).

Missing Features

  • Email templates (Create/Update/Get/List)
  • File attachments
  • Configuration sets
  • Bounce/complaint handling
  • Email authentication (DKIM/SPF)
  • Suppression list
  • Send statistics / quotas

Impact

P1 — Memory and persistence exhaustion under sustained email sending.

Files

  • services/ses/backend.go

Activity

  1. agbishop commented on Mar 15, 2026

    @agbishop
    CollaboratorAuthor

    copilot-autodev: agent task created for issue #666 (initial invoke).

  2. agbishop commented on Mar 15, 2026

    @agbishop
    CollaboratorAuthor

    copilot-autodev: Tracking PR #806 for this issue.

  3. added a commit that references this issue on Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions