-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support email replies with threading (#252)
* Support email replies with threading * Fix main function for create action * Fix error check * Fix error handling issue and add more logs * Fix table name in one transaction * Fix thread id generation * Return draft email when requesting thread * Update log * Keep thread id when saving email drafts * Fix required extra method for dynamodb client * Return ThreadID from create and save requests * Fix tests * Use transaction to send email * Fix lambda handler entry * Include ThreadID after email is sent * Fix go tests * Avoid duplicate imports * `References` for email should be a string * Support send threaded email using raw MIME * Improve error handling * Support joining errors in go 1.19 * Correctly send email replys in `create` and `save` * Add comments and correctly update thread when sending * Set todo for email deleting * Make imports consistant * Include more logs * Rename a helper function * Fix a reply header issue and add more comments * Add SendRawEmail permission * Log TransactionCanceledException details * Use correct message ID when replying to sent email * References should have msg-id enclosed in angle brackets * Return time sent for sent emails
- Loading branch information
Showing
17 changed files
with
925 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.