# Gmail email function - where and how is my password stored

**URL:** <https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291>\
**Category:** Get Help\
**Created:** [October 13, 2023, 8:43am UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291 "2023-10-13T08:43:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marijn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/marijn/32/7911_2.png) [@marijn](https://community.fibery.io/u/marijn)\
**Post date:** [October 13, 2023, 8:43am UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291/1 "2023-10-13T08:43:24Z")

</div>

I am experimenting with the email function to send invoices. I connected it to my Google Workspace account. Fibery uses the (not-so-secure) app passwords for this.

Where and how does Fibery store this password?

This is important for me to know, because I the password gives access to my complete Google workspace and there is no way for me to limit this, which makes it a big vulnerability.

---

<div class="post-metadata">

**Author:** ![Polina\_Zenevich](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/polina_zenevich/32/480_2.png) [@Polina\_Zenevich](https://community.fibery.io/u/Polina_Zenevich)\
**Post date:** [October 23, 2023, 1:07pm UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291/2 "2023-10-23T13:07:17Z")

</div>

Hi!  
We are storing passwords in our database encrypted with a secret key.

---

<div class="post-metadata">

**Author:** ![Minh\_Tri\_Do\_Hang](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/minh_tri_do_hang/32/6791_2.png) [@Minh\_Tri\_Do\_Hang](https://community.fibery.io/u/Minh_Tri_Do_Hang)\
**Post date:** [October 23, 2023, 10:18pm UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291/3 "2023-10-23T22:18:46Z")

</div>

so how could we set that secret key for databases or entities level ?

---

<div class="post-metadata">

**Author:** ![marijn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/marijn/32/7911_2.png) [@marijn](https://community.fibery.io/u/marijn)\
**Post date:** [October 24, 2023, 6:49am UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291/4 "2023-10-24T06:49:14Z")

</div>

@Minh_Tri_Do_Hang this is about the Google workspace integration for email. If you want Fibery to send emails using your Google workspace, you have to [connect an email account](https://the.fibery.io/@public/User_Guide/Guide/Send-Email-action-105). From @Polina_Zenevich 's answer, I understand that Fibery stores my email password encrypted in a database and that they use a private key for encryption that is only available to Fibery.

---

<div class="post-metadata">

**Author:** ![Minh\_Tri\_Do\_Hang](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/minh_tri_do_hang/32/6791_2.png) [@Minh\_Tri\_Do\_Hang](https://community.fibery.io/u/Minh_Tri_Do_Hang)\
**Post date:** [October 24, 2023, 8:42am UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291/5 "2023-10-24T08:42:27Z")

</div>

well, that’s actually app password to set integrate with emails  
Other hand, i wanna to ask, do we have any way to private 1 database or 1 entity storage some of my passwords

---

<div class="post-metadata">

**Author:** ![marijn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/marijn/32/7911_2.png) [@marijn](https://community.fibery.io/u/marijn)\
**Post date:** [October 24, 2023, 9:14am UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291/6 "2023-10-24T09:14:07Z")

</div>

Ah. I don’t know. Best to put this question in a [new topic](https://community.fibery.io/new-topic).

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [October 24, 2023, 9:14am UTC](https://community.fibery.io/t/gmail-email-function-where-and-how-is-my-password-stored/5291/7 "2023-10-24T09:14:11Z")

</div>

@Minh_Tri_Do_Hang  
If you have a question on another issue I suggest starting a new topic
