



# Gmail G Suite
  
Connect through Google API to your Gmail account, read, send and manage your email inbox, labels and folders.  

*Read this in other languages: [English](README.md), [Português](README.pr.md), [Español](README.es.md)*

## How to install this module
  
To install the module in Rocketbot Studio, it can be done in two ways:
1. Manual: __Download__ the .zip file and unzip it in the modules folder. The folder name must be the same as the module and inside it must have the following files and folders: \__init__.py, package.json, docs, example and libs. If you have the application open, refresh your browser to be able to use the new module.
2. Automatic: When entering Rocketbot Studio on the right margin you will find the **Addons** section, select **Install Mods**, search for the desired module and press install.  


## Overview


1. Server Configuration  
Configure the mail server to be used

2. Send Email  
Send email, before you must configurate the server

3. List all email  
List all email, you can specify a filter

4. List unread emails  
List unread emails, you can specify a filter

5. Read email for ID  
You can specify the ID of an email to read it

6. Get thread by ID  
Get the whole thread of an email by ID

7. Create Label  
You can create a label with the name you want

8. Move email to label  
Move email from one label to another

9. Mark email as unread  
Any previously opened email can be marked as unread

10. List all labels  
Get a list of all mail labels and store them in a variable

11. Forward  
Forward an email

12. Reply email  
This command allows you to reply to an email by its ID

13. Download attachments for ID  
Downloads email attachments and saves them in a folder

14. Close Server  
Close server connection  




----
### OS

- windows
- mac
- linux
- docker

### Dependencies
- [**mail-parser**](https://pypi.org/project/mail-parser/)- [**google-api-python-client**](https://pypi.org/project/google-api-python-client/)
### License
  
![MIT](https://camo.githubusercontent.com/107590fac8cbd65071396bb4d04040f76cde5bde/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e7376673f7374796c653d666c61742d737175617265)  
[MIT](http://opensource.org/licenses/mit-license.ph)