Skip to content

Email Async Backend - #82

Merged
isabellalam12 merged 2 commits into
mainfrom
email-async-backend
Aug 21, 2026
Merged

Email Async Backend#82
isabellalam12 merged 2 commits into
mainfrom
email-async-backend

Conversation

@isabellalam12

Copy link
Copy Markdown
Member

Plan and implement asynchronous email backend and UI. Swap to database-backed templates.

Fix backend and frontent tests

Remove MatchingSendPage and dedupe sending

This was referenced Aug 17, 2026

isabellalam12 commented Aug 17, 2026

Copy link
Copy Markdown
Member Author

@isabellalam12 isabellalam12 changed the title create email async plans Email Async Backend Aug 17, 2026
@isabellalam12
isabellalam12 changed the base branch from email-async-frontend to graphite-base/82 August 17, 2026 21:03
@isabellalam12
isabellalam12 changed the base branch from graphite-base/82 to main August 17, 2026 21:04
Plan and implement asynchronous email backend and UI. Swap to database-backed templates.

Fix backend and frontent tests

Remove MatchingSendPage and dedupe sending
@sonarqubecloud

Copy link
Copy Markdown

@isabellalam12
isabellalam12 marked this pull request as ready for review August 19, 2026 16:11
@isabellalam12
isabellalam12 requested a review from a team August 19, 2026 16:11
@graphite-app

graphite-app Bot commented Aug 19, 2026

Copy link
Copy Markdown

Graphite Automations

"Request reviewers once CI passes" took an action on this PR • (08/19/26)

2 reviewers were added to this PR based on Henry Chen's automation.

isabellalam12 commented Aug 21, 2026

Copy link
Copy Markdown
Member Author

Merge activity

  • Aug 21, 4:47 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 21, 4:47 PM UTC: @isabellalam12 merged this pull request with Graphite.

@isabellalam12
isabellalam12 merged commit 9cd1fbe into main Aug 21, 2026
8 checks passed
@isabellalam12
isabellalam12 deleted the email-async-backend branch August 21, 2026 16:47
}

// Async email flow with template ID (replaces SendRequest for new code)
export interface SendAsyncRequest {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note here that this can be used for both the legacy (non async) and new async paths.

We may want to add the ability in the future to send emails without a template (adhoc custom message) but saving everything as a template is fine for now.

@Slf4j
public class EmailDrainer {

private static final int BATCH_SIZE = 50;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit for the future - ideally make something like this configurable based on our pairings size.

Can live in a conf file/env var so we can tweak it easily without redeploying the code

Allimonae pushed a commit that referenced this pull request Aug 21, 2026
Plan and implement asynchronous email backend and UI. Swap to database-backed templates.

Fix backend and frontent tests

Remove MatchingSendPage and dedupe sending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants