Skip to content

Email#185

Open
neufeldtech wants to merge 4 commits into
syumai:mainfrom
neufeldtech:email
Open

Email#185
neufeldtech wants to merge 4 commits into
syumai:mainfrom
neufeldtech:email

Conversation

@neufeldtech

@neufeldtech neufeldtech commented Dec 8, 2025

Copy link
Copy Markdown

What

Adds email handling functionality.

  • Supports Send(), Reply(), Forward(), SetReject()
  • Async and Synchronous handler options
  • Added comprehensive example that demonstrates usage

Motivation

This feature was not implemented yet and I would rather write email workers in golang than Typescript.

@neufeldtech neufeldtech force-pushed the email branch 4 times, most recently from 7109236 to 28fe6b0 Compare December 9, 2025 03:59
@neufeldtech neufeldtech marked this pull request as ready for review December 9, 2025 04:03
@neufeldtech

Copy link
Copy Markdown
Author

@syumai what are your recommendations for testing strategy for these types of APIs? I looked briefly into some of the queues tests, but many of the other pieces have no tests 🤔

@b0ch3nski b0ch3nski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for working on this! Just some minor nitpicks 🙂

Comment thread internal/jsmail/header.go Outdated
Comment thread cloudflare/email/email.go Outdated
Comment thread cloudflare/email/email.go Outdated
@neufeldtech neufeldtech requested a review from b0ch3nski December 9, 2025 20:00

@b0ch3nski b0ch3nski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me now, thanks! @syumai?

@neufeldtech

Copy link
Copy Markdown
Author

@syumai - you able to review this one?

@neufeldtech

Copy link
Copy Markdown
Author

Hi @syumai, checking in - you able to review this?

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.

2 participants