RakenEmailService
- use async process for enrichment and send
API endpoints:
-
post for create email and send curl --location --request POST 'http://localhost:8080/api/v1/email/?enrich=true'
--header 'Content-Type: application/json'
--data-raw '{ "from":"aa@gmail.com", "to": "bb@gmail.com", "subject": "test", "body": "test" }' -
get email with status curl --location --request GET 'http://localhost:8080/api/v1/email/1'
more improvements on next sprint
- add spring security for Authentication and Authorization
- add api access limit
- add more unit test for coverage
- add cc/bcc support