Explanation of the Ayomi Gmail Application.
Ayomi Gmail Application helps you to classify your contacts then suggesting and sending personalized messages on your behalf
1. Account
- When a user allows our application to access his google account, we are taking the refresh token and saving it in our database
- We are also storing the account name and account picture
- When a user is deleting his account, we will delete everything related to the account in our database. The user must also delete the Third-party access on his google account. You go here to do that: https://myaccount.google.com/security-checkup/3
2. Contact
Ayomi Gmail Application is extracting all the email addresses to whom the user is related to in his mailbox (email received or sent) and aggregate the data to get some statistics about each email address.
3. Send mail
- Ayomi is suggesting messages based on the classification made by the algorithm for each contact
- User is able to modify the suggested message: subject, body of mail, and also select contact.
- User can set an alternative time for each sending.
- We create a label named "AYOMI" and put all sent mail by our application in this label.
4. Scopes
Ayomi Gmail Application uses many Gmail API scopes. We explain all these scopes with its utilisation.
- Scope https://mail.google.com/:
- I will need read in order to get the exhausted contact list the user is talking to so that my app can aggregate the data around each email address the user is related to (last message, first message, frequency of exchange, topics of the exchange, …) and offer the user a classification of his own network.
- I will need compose in order to send mails so that my app can suggest specific content for each persona of the user network and send them automatically.
- I will need manage mailbox labels so that my app can create label in order to identify easily the messages sent via our app and store them in a specific folder.
- Scope https://www.googleapis.com/auth/contacts.readonly : I will need read all email addresses from the contact list, so that my app can aggregate the contact list.
- Scope https://www.googleapis.com/auth/userinfo.profile : this scope to give the account name and account picture
- Scope https://www.googleapis.com/auth/userinfo.email : this scope to give the account email address