# Can't add gmail account - This app is blocked

**URL:** <https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524>\
**Category:** Sync Issues\
**Tags:** google, windows\
**Created:** [July 27, 2024, 3:56am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524 "2024-07-27T03:56:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmvallejo](https://community.getmailspring.com/user_avatar/community.getmailspring.com/jmvallejo/32/9017_2.png) [@jmvallejo](https://community.getmailspring.com/u/jmvallejo)\
**Post date:** [July 27, 2024, 3:56am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/1 "2024-07-27T03:56:17Z")

</div>

## Problem

I’ve been using Mailspring in my other computers just fine, recently reinstalled the OS and downloaded it again. When I tried logging in with Gmail it gave me this error:

 ![image](https://community.getmailspring.com/uploads/default/original/2X/7/76dbb80c63dc1c093e5ab62818175f8f8633b2f6.png)

# This app is blocked

This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

## Context

I can reproduce when trying to log in with Gmail, not sure about others.

## Email Provider

Gmail

## Setup

|Edition|Windows 11 Pro|  
|Version|23H2|  
|Installed on|‎7/‎26/‎2024|  
|OS build|22631.3880|  
|Experience|Windows Feature Experience Pack 1000.22700.1020.0|

Mailspring version: Can’t get to the app menu, latest as of July 26th, downloaded from [Mailspring - The best free email app](https://www.getmailspring.com/download)

---

<div class="post-metadata">

**Author:** ![George-1717](https://community.getmailspring.com/user_avatar/community.getmailspring.com/george-1717/32/9033_2.png) [@George-1717](https://community.getmailspring.com/u/George-1717)\
**Post date:** [July 28, 2024, 4:27pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/2 "2024-07-28T16:27:30Z")

</div>

Same problem here, related issue: [Google OAuth no longer working - #5 by sinazadeh](https://community.getmailspring.com/t/google-oauth-no-longer-working/5512/5)

---

<div class="post-metadata">

**Author:** ![mmajewsk](https://community.getmailspring.com/user_avatar/community.getmailspring.com/mmajewsk/32/9039_2.png) [@mmajewsk](https://community.getmailspring.com/u/mmajewsk)\
**Post date:** [July 29, 2024, 7:29am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/3 "2024-07-29T07:29:43Z")

</div>

I have same issue both on 1.13 version and 1.10 of mailspring.

---

<div class="post-metadata">

**Author:** ![Nick-in-Wales](https://community.getmailspring.com/user_avatar/community.getmailspring.com/nick-in-wales/32/6184_2.png) [@Nick-in-Wales](https://community.getmailspring.com/u/Nick-in-Wales)\
**Post date:** [July 29, 2024, 11:10am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/4 "2024-07-29T11:10:16Z")

</div>

I’m trying to reinstall Mailspring after upgrading to Linux Mint 22 and now I’m getting:

# This app is blocked

This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

Help!!

---

<div class="post-metadata">

**Author:** ![ecino](https://community.getmailspring.com/user_avatar/community.getmailspring.com/ecino/32/8915_2.png) [@ecino](https://community.getmailspring.com/u/ecino)\
**Post date:** [July 29, 2024, 11:14am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/5 "2024-07-29T11:14:56Z")

</div>

Also getting the issue with latest .rpm package

---

<div class="post-metadata">

**Author:** ![Nick-in-Wales](https://community.getmailspring.com/user_avatar/community.getmailspring.com/nick-in-wales/32/6184_2.png) [@Nick-in-Wales](https://community.getmailspring.com/u/Nick-in-Wales)\
**Post date:** [July 29, 2024, 12:05pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/6 "2024-07-29T12:05:40Z")

</div>

Just added my gmail account to Thunderbird on a new upgrade to Linux Mint 22 but Google is still blocking Mailspring.

Help please or I will have to change email clients,

Thanks.

---

<div class="post-metadata">

**Author:** ![fmtventures](https://community.getmailspring.com/user_avatar/community.getmailspring.com/fmtventures/32/6650_2.png) [@fmtventures](https://community.getmailspring.com/u/fmtventures)\
**Post date:** [July 29, 2024, 2:54pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/7 "2024-07-29T14:54:05Z")

</div>

Any solution yet. Mailspring was working perfectly and suddenly just received this message ;(((

---

<div class="post-metadata">

**Author:** ![daniellewis-std](https://community.getmailspring.com/user_avatar/community.getmailspring.com/daniellewis-std/32/9045_2.png) [@daniellewis-std](https://community.getmailspring.com/u/daniellewis-std)\
**Post date:** [July 30, 2024, 2:44am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/8 "2024-07-30T02:44:35Z")

</div>

Same error. It is really annoying without email client working with Gmail :\<|

---

<div class="post-metadata">

**Author:** ![clintonium-119](https://community.getmailspring.com/user_avatar/community.getmailspring.com/clintonium-119/32/9049_2.png) [@clintonium-119](https://community.getmailspring.com/u/clintonium-119)\
**Post date:** [July 30, 2024, 1:42pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/9 "2024-07-30T13:42:06Z")

</div>

I’m having the same issue. I have 2 google accounts connected, and have for a year or two.  
Only one account is having this issue, but it’s preventing me from using Mailspring.

Would love to see a developer response in this thread. I’d love to continue to use Mailspring, but I won’t be able to go without a working email client for long. I’ve tried reinstalling, switching from a user to a system-wide flatpak, combed through my google settings to see if I could add an exception to allow connection. Don’t really have any other ideas.

---

<div class="post-metadata">

**Author:** ![jmvallejo](https://community.getmailspring.com/user_avatar/community.getmailspring.com/jmvallejo/32/9017_2.png) [@jmvallejo](https://community.getmailspring.com/u/jmvallejo)\
**Post date:** [July 30, 2024, 8:15pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/10 "2024-07-30T20:15:27Z")

</div>

I hope this gets addressed soon, Mailspring is the one email client I’ve been able to get used to, hoping I don’t need to switch.

I read around a bit and this doesn’t seem like something that can be bypassed by the user in google settings or anything. Seems more like Mailspring is not complying with newly enforced security standards by Google.

---

<div class="post-metadata">

**Author:** ![bwallxx](https://community.getmailspring.com/user_avatar/community.getmailspring.com/bwallxx/32/9088_2.png) [@bwallxx](https://community.getmailspring.com/u/bwallxx)\
**Post date:** [August 5, 2024, 6:34pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/11 "2024-08-05T18:34:16Z")

</div>

Bump… no response from Mailspring? 🙄

---

<div class="post-metadata">

**Author:** ![ameddonado](https://community.getmailspring.com/user_avatar/community.getmailspring.com/ameddonado/32/9092_2.png) [@ameddonado](https://community.getmailspring.com/u/ameddonado)\
**Post date:** [August 6, 2024, 7:29am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/12 "2024-08-06T07:29:16Z")

</div>

The solution is simple!

protip: read the logs

This was in my log.

```auto
2 NO [ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)

```

Basically you have to create an app specific password for Mailspring. Go to this link (Create and manage your app passwords - [https://myaccount.google.com/apppasswords](https://myaccount.google.com/apppasswords) ) & create a new app password specific for mailspring. Name the app password whatever you want. Go nuts and name it something like “Mailspring” then you’ll be prompted with that one time password. Copy it with the spaces and everything included.

Now in Mailspring click the `Reconnect` button in red that you’re prompted with. It’ll give you a link and / or open a new browser window. Don’t connect that way, instead in the mailspring prompt with the link it provides hit the back button and reconnect the account using IMAP. In the `Password` field you would enter the password you created for the app from the link above. The account should reconnect after those credentials are entered. Just make sure you change the SMTP port to 465.

I hope this helps! 🤠

---

<div class="post-metadata">

**Author:** ![dharjai](https://community.getmailspring.com/user_avatar/community.getmailspring.com/dharjai/32/2101_2.png) [@dharjai](https://community.getmailspring.com/u/dharjai)\
**Post date:** [August 6, 2024, 8:12am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/13 "2024-08-06T08:12:35Z")

</div>

works perfectly with [https://myaccount.google.com/apppasswords](https://myaccount.google.com/apppasswords)  
need to activate 2 factor verification before you generate app passwords

---

<div class="post-metadata">

**Author:** ![clintonium-119](https://community.getmailspring.com/user_avatar/community.getmailspring.com/clintonium-119/32/9049_2.png) [@clintonium-119](https://community.getmailspring.com/u/clintonium-119)\
**Post date:** [August 6, 2024, 3:29pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/14 "2024-08-06T15:29:05Z")

</div>

Interesting. I may give this a go, then. I’d moved on to Thunderbird (which is better than I’d remembered), so I may not return to Mailspring, but I did like it (when it worked)

I’m guessing this would likely solve the 2nd major issue I had with it: it was requiring me to reauthenticate each time I restarted (or logged in to) my OS.

---

<div class="post-metadata">

**Author:** ![hasancst](https://community.getmailspring.com/user_avatar/community.getmailspring.com/hasancst/32/9101_2.png) [@hasancst](https://community.getmailspring.com/u/hasancst)\
**Post date:** [August 8, 2024, 12:04am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/15 "2024-08-08T00:04:16Z")

</div>

Thank you finally i got mailspring working because I have used this for almost 3 years switching from Thunderbird. just use SMTP instead of Google login create app from [https://myaccount.google.com/apppasswords](https://myaccount.google.com/apppasswords) and enter the password  
Thank @ameddonado

---

<div class="post-metadata">

**Author:** ![ecino](https://community.getmailspring.com/user_avatar/community.getmailspring.com/ecino/32/8915_2.png) [@ecino](https://community.getmailspring.com/u/ecino)\
**Post date:** [August 8, 2024, 6:09am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/16 "2024-08-08T06:09:47Z")

</div>

It’s a shame such a major problem doesn’t get any attention from the team though. This is a strong reason for me to look for a better maintained alternative.

---

<div class="post-metadata">

**Author:** ![justs](https://community.getmailspring.com/user_avatar/community.getmailspring.com/justs/32/9117_2.png) [@justs](https://community.getmailspring.com/u/justs)\
**Post date:** [August 10, 2024, 9:34pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/17 "2024-08-10T21:34:34Z")

</div>

The app password workaround does not appear to work with custom domains. Unless I am missing something. Considering how good em Client is and how much better Thunderbird has become I can’t justify the 45+ minutes I have spent trying to setup only 1 of my 8 accounts. At this rate it will take an entire day just to get Mailspring setup with the basic email connections, nevermind all of the personilaztion.

Not worth it. Even Google doesn’t think this is a good idea!  
 ![image](https://community.getmailspring.com/uploads/default/original/2X/a/a17d6195e770e6eb934d6edfd76a6da9b8fc8edf.png)

---

<div class="post-metadata">

**Author:** ![bengotow](https://community.getmailspring.com/user_avatar/community.getmailspring.com/bengotow/32/14_2.png) [@bengotow](https://community.getmailspring.com/u/bengotow)\
**Post date:** [August 30, 2024, 5:32pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/18 "2024-08-30T17:32:41Z")

</div>

Hey folks, thanks for your patience here - each year, Google requires that we go through a compliance process for continued access to the Gmail APIs. They’ve changed the process slightly every year - for 2021 and 2022, we paid a third party $15,000 for a several month security audit. In 2023 they didn’t ask us to do anything, and this year there’s a new process involving some automated code scanning and review.

I’m optimistic that Gmail OAuth will be restored in early September, but their process is heavily geared toward simple cloud-based integrations with Gmail and not desktop clients. They want us to “securely store OAuth credentials”, and it’s increasingly difficult to explain that we don’t store them at all, they’re saved in your computer’s keychain and never sent to the cloud.

Long story short:

- I expect OAuth for Gmail will work again soon, once we’ve satisfied Google’s updated compliance requirements.

- In the meantime, you can:

It appears that Google is not blocking all existing Gmail accounts that have authenticated with Mailspring already, so if you’re already logged in you may not need to take any action.

Sorry again for the hassle, I use Gmail with Mailspring myself so this has been very annoying. If you pay fo Mailspring Pro, email me at [ben@foundry376.com](mailto:ben@foundry376.com), I’d be happy to refund your subscription.

---

<div class="post-metadata">

**Author:** ![bengotow](https://community.getmailspring.com/user_avatar/community.getmailspring.com/bengotow/32/14_2.png) [@bengotow](https://community.getmailspring.com/u/bengotow)\
**Post date:** [September 28, 2024, 5:38pm UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/19 "2024-09-28T17:38:03Z")

</div>

Hey folks! Thanks for your patience - it looks like we’ll be through the CASA security audit with TAC Security in the next couple days, and you should be able to add Gmail accounts again very soon. Sorry for the hassle. I’m hopeful that Google sticks with this new process for a few years now that we’ve aligned the app and documentation.

---

<div class="post-metadata">

**Author:** ![dharjai](https://community.getmailspring.com/user_avatar/community.getmailspring.com/dharjai/32/2101_2.png) [@dharjai](https://community.getmailspring.com/u/dharjai)\
**Post date:** [September 29, 2024, 7:55am UTC](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524/20 "2024-09-29T07:55:05Z")

</div>

Great hope things are on track again

[Next page](https://community.getmailspring.com/t/cant-add-gmail-account-this-app-is-blocked/8524.md?page=2)
