# Email Connector

**URL:** <https://discuss.elastic.co/t/email-connector/362627>\
**Category:** Kibana\
**Tags:** connectors\
**Created:** [July 5, 2024, 4:51pm UTC](https://discuss.elastic.co/t/email-connector/362627 "2024-07-05T16:51:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![narayanaitrecruiter](https://avatars.discourse-cdn.com/v4/letter/n/eada6e/32.png) [@narayanaitrecruiter](https://discuss.elastic.co/u/narayanaitrecruiter)\
**Post date:** [July 5, 2024, 4:51pm UTC](https://discuss.elastic.co/t/email-connector/362627/1 "2024-07-05T16:51:36Z")

</div>

Hi Team, i am trying to create Email connector using the gmail which has 2 factor authentication enabled. What need to be done in this case? no option to enable app password.

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [July 5, 2024, 6:22pm UTC](https://discuss.elastic.co/t/email-connector/362627/2 "2024-07-05T18:22:23Z")

</div>

Hi @narayanaitrecruiter ,

Are you talking about the [Elastic Connector for Gmail](https://www.elastic.co/guide/en/enterprise-search/current/connectors-gmail.html)?

If so, have you followed the prerequisite instructions for authentication to create a Google Service Account? If not, please follow the steps described here: [Elastic Gmail connector reference | Enterprise Search documentation [8.14] | Elastic](https://www.elastic.co/guide/en/enterprise-search/current/connectors-gmail.html#connectors-gmail-client-connector-authentication-prerequisites)

This connector does not use 2-factor auth that requires human intervention, but an OAuth2 Client Credentials flow. So I think you may have missed the setup of the requisite "application" and credentials.
