# How to get email from firebase?

**URL:** <https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588>\
**Category:** Questions about Thunkable X\
**Tags:** firebase\
**Created:** [November 4, 2023, 3:16pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588 "2023-11-04T15:16:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![wulfy\_starr](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wulfy_starr/32/164356_2.png) [@wulfy\_starr](https://community.thunkable.com/u/wulfy_starr)\
**Post date:** [November 4, 2023, 3:16pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/1 "2023-11-04T15:16:28Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/d/eda48811376c21f459913a098d82c518d241ee1b.png)

my app is basically using the blocks for firebase and it works perfectly so far. i’m trying to see if i can retrieve the email from the firebase authentication console, so that way i can make the error about duplicate emails when signing up. i know that i can set the “credential issues” label text to just show the actual error, but i’m trying to display the error in my own text. how could i retrieve the email? would i need to use a variable?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 4, 2023, 4:25pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/2 "2023-11-04T16:25:01Z")

</div>

Have you tried signing up twice with the same email address? I think Firebase won’t allow that.

---

<div class="post-metadata">

**Author:** ![wulfy\_starr](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wulfy_starr/32/164356_2.png) [@wulfy\_starr](https://community.thunkable.com/u/wulfy_starr)\
**Post date:** [November 4, 2023, 4:37pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/3 "2023-11-04T16:37:44Z")

</div>

i have tried without realizing, which is how i discovered the error. i want to see if i can make the error for users who accidently try to do the same thing

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 4, 2023, 4:55pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/4 "2023-11-04T16:55:07Z")

</div>

I think this setting will prevent that:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/b/2b1ce105f31ce8aecec700db65452d24e7c7348d.png)

---

<div class="post-metadata">

**Author:** ![wulfy\_starr](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wulfy_starr/32/164356_2.png) [@wulfy\_starr](https://community.thunkable.com/u/wulfy_starr)\
**Post date:** [November 4, 2023, 5:13pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/5 "2023-11-04T17:13:03Z")

</div>

i do have it set to that. does it prevent that error from showing up?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 4, 2023, 7:07pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/6 "2023-11-04T19:07:45Z")

</div>

I’m not sure which error you mean but if you assign the green ‘error’ block to a label’s text, you can display it.

---

<div class="post-metadata">

**Author:** ![wulfy\_starr](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wulfy_starr/32/164356_2.png) [@wulfy\_starr](https://community.thunkable.com/u/wulfy_starr)\
**Post date:** [November 4, 2023, 7:51pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/7 "2023-11-04T19:51:46Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/8/b8c7f512c21899b6ba2ad7285da4d51e6b3d1831.png)

basically this error. i’m trying to change the label to my own text, but the problem is i don’t know how to get the email from firebase

---

<div class="post-metadata">

**Author:** ![wulfy\_starr](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wulfy_starr/32/164356_2.png) [@wulfy\_starr](https://community.thunkable.com/u/wulfy_starr)\
**Post date:** [November 4, 2023, 9:49pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/8 "2023-11-04T21:49:00Z")

</div>

i was working on a backup (which is this same app but a slightly previous version) and the issue seemed to resolve itself and my custom error was able to show up. not sure how, but i guess it was working all along 😛

this topic can be closed if needed now

---

<div class="post-metadata">

**Author:** ![wulfy\_starr](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wulfy_starr/32/164356_2.png) [@wulfy\_starr](https://community.thunkable.com/u/wulfy_starr)\
**Post date:** [November 4, 2023, 9:39pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/9 "2023-11-04T21:39:00Z")

</div>

earlier i was tweaking my firebase blocks, and all of a sudden the emails can’t seem to verify  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/a/ca30032b62bdcf1347dd949c01e6063c5669e065.png)

which is strange, because the verification email seems to send, and the link works  
 ![Screenshot 2023-11-04 173346](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/c/5c047ac9501db2bb22e0b3820d3e0242829bb363.png)

here are the blocks that have to do with verifying emails, if that helps

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/4/04b728f1e188b807556b272a3c7fadb4f133efff.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 5, 2023, 12:46am UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/10 "2023-11-05T00:46:22Z")

</div>

Please don’t create multiple topics for the same problem. It makes it confusing for anyone trying to help you. I’ll close this and merge it with your other topic.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 2, 2024, 9:39pm UTC](https://community.thunkable.com/t/how-to-get-email-from-firebase/2681588/11 "2024-02-02T21:39:17Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
