
## GmailClient class

Base class for Gmail client

The GmailClient type exposes the following members:
## Properties
| Name | Description |
| :- | :- |
|default_email|Gets or sets default email address|
|access_token|Gets or sets OAuth 2.0 access token<br/>            In case if refresh token is set, access token is generated automatically.|
|timeout|Gets or sets the number of milliseconds to wait before the operation times out.<br/>            The default value is 100,000 milliseconds (100 seconds).|
|default_timeout|Gets or sets the default timeout value for ActiveSync client instances<br/>            The default value is 100,000 milliseconds (100 seconds).|
## Methods
| Name | Description |
| :- | :- |
|get_instance(access_token, default_email)|  |
|get_instance(client_id, client_secret, refresh_token, default_email)|  |
|refresh_token()|  |

### See Also

* namespace [aspose.email.clients.google](/email/python-net/aspose.email.clients.google/)
* assembly [Aspose.Email](/email/python-net/)

