Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move IMAP listener from Relayer #41

Open
saleel opened this issue Jan 6, 2024 · 0 comments
Open

Move IMAP listener from Relayer #41

saleel opened this issue Jan 6, 2024 · 0 comments
Assignees
Labels
idea Ideas that need to be discussed, and are not ready for development yet

Comments

@saleel
Copy link
Member

saleel commented Jan 6, 2024

This is an idea to improve relayer infra:

  • Add HTTP API in relayer to receive new email
  • Response is the email that should be sent to the user
  • IMAP listener can be a separate service that calls the Relayer server when there is a new email, and send the HTTP response (email) back to the user.

Advantages:

  • AWS SES can be used to listen to emails and call the relayer - we can avoid connection issues with IMAP
  • The relayer can run in a serverless fashion - can also explore running the full relayer in modal.com
  • For local use, IMAP listener service can be run separately - Docker compose can be setup for running everything.
@saleel saleel added the idea Ideas that need to be discussed, and are not ready for development yet label Jan 6, 2024
@Bisht13 Bisht13 self-assigned this Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Ideas that need to be discussed, and are not ready for development yet
Projects
None yet
Development

No branches or pull requests

2 participants