# Functions
Create adds an email as draft in DynamoDB
TODO: refactor this function
gocyclo:ignore.
Delete deletes an trashed email from DynamoDB and S3.
get returns the email.
Get returns the email and marks it as read.
Get returns the email.
List lists emails in DynamoDB
TODO: refactor this function
gocyclo:ignore.
No description provided by the author
Read marks an email as read or unread.
Reparse re-parse an email from S3 and update the DynamoDB record.
Save puts an email as draft in DynamoDB
TODO: refactor this function
gocyclo:ignore.
Send sends a draft email.
Trash marks an email as trashed.
No description provided by the author
Untrash marks an trashed email as not trashed.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
EmailTypeInbox represents a draft email.
EmailTypeInbox represents an inbox email.
EmailTypeInbox represents a sent email.
TODO: refactor EmailTypeThread represents a thread, which is a group of emails.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
CreateInput represents the input of create method.
CreateResult represents the result of create method.
No description provided by the author
GetResult represents the result of get method.
GSIIndex represents Global Secondary Index of an email.
No description provided by the author
No description provided by the author
ListInput represents the input of list method.
ListResult represents the result of list method.
No description provided by the author
No description provided by the author
No description provided by the author
SaveInput represents the input of save method.
SaveResult represents the result of save method.
No description provided by the author
No description provided by the author
TimeIndex represents the index attributes of an email.
No description provided by the author
# Type aliases
No description provided by the author