* **xoauth2** - <_string_ > - OAuth2 token for [The SASL XOAUTH2 Mechanism](https://developers.google.com/google-apps/gmail/xoauth2_protocol#the_sasl_xoauth2_mechanism) for servers that support it (See Andris Reinman's [xoauth2](https://github.com/andris9/xoauth2) module to help generate this string).
* **xoauth2** - <_string_ > - OAuth2 token for [The SASL XOAUTH2 Mechanism](https://developers.google.com/google-apps/gmail/xoauth2_protocol#the_sasl_xoauth2_mechanism) for servers that support it (See Andris Reinman's [xoauth2](https://github.com/andris9/xoauth2) module to help generate this string).
* **host** - <_string_ > - Hostname or IP address of the IMAP server. **Default:** "localhost"
* **host** - <_string_ > - Hostname or IP address of the IMAP server. **Default:** "localhost"
* **port** - <_integer_ > - Port number of the IMAP server. **Default:** 143
* **port** - <_integer_ > - Port number of the IMAP server. **Default:** 143
* **secure** - <_boolean_ > - Use SSL/TLS? **Default:** false
* **secureOptions** - <_object_ > - Options object to pass to tls.connect() **Default:** (none)
* **tlsOptions** - <_object_ > - Options object to pass to tls.connect() **Default:** (none)
* **autotls** - <_string_ > - Set to 'always' to always attempt connection upgrades via STARTTLS, 'required' only if upgrading is required, or 'never' to never attempt upgrading. **Default:** 'never'
* **connTimeout** - <_integer_ > - Number of milliseconds to wait for a connection to be established. **Default:** 10000
* **connTimeout** - <_integer_ > - Number of milliseconds to wait for a connection to be established. **Default:** 10000