# Authentication error when trying to set up Zoho account

**URL:** <https://community.getmailspring.com/t/authentication-error-when-trying-to-set-up-zoho-account/9525>\
**Category:** Sync Issues\
**Tags:** accounts\
**Created:** [March 7, 2025, 5:20am UTC](https://community.getmailspring.com/t/authentication-error-when-trying-to-set-up-zoho-account/9525 "2025-03-07T05:20:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffdill2](https://community.getmailspring.com/user_avatar/community.getmailspring.com/jeffdill2/32/8173_2.png) [@jeffdill2](https://community.getmailspring.com/u/jeffdill2)\
**Post date:** [March 7, 2025, 5:20am UTC](https://community.getmailspring.com/t/authentication-error-when-trying-to-set-up-zoho-account/9525/1 "2025-03-07T05:20:37Z")

</div>

## Problem

I’m trying to set up a Mailspring account for my Zoho email account using IMAP/SMTP. However, Mailspring keeps throwing an authentication error:

> Authentication Error - Check your username and password. (IMAP)

With the following logs:

```auto
----------IMAP----------
connect <mailcore::IMAPSession:0x16db1f410>
* OK svwall.zoho.com IMAP4 Server (Zoho Mail IMAP4rev1 Server version 1.0)
ssl connect imap.zoho.com 993 2
1 CAPABILITY
* CAPABILITY IMAP4rev1 UNSELECT CHILDREN XLIST NAMESPACE IDLE MOVE ID AUTH=PLAIN SASL-IR UIDPLUS ESEARCH LIST-EXTENDED LIST-STATUS WITHIN LITERAL- ACL CONDSTORE
1 OK CAPABILITY completed
connect ok
login
2 LOGIN "XXXXX@relic-trader.com" " *********"
2 NO [AUTHENTICATIONFAILED] Invalid credentials(Failure)

```

## Context

I’ve verified that my credentials are correct. I have no issues logging directly into Zoho with the credentials I’m entering into Mailspring. No, I don’t have 2FA enabled on Zoho. Yes, I’ve got all SPF, MX, etc. records set up and verified in my DNS panel for my custom domain ([relic-trader.com](http://relic-trader.com)).

## Email Provider

Zoho (via IMAP/SMTP)

## Setup

- OS and Version: macOS Sequoia 15.3.1
- Mailspring Version: 1.15.1

---

<div class="post-metadata">

**Author:** ![jawnR](https://community.getmailspring.com/user_avatar/community.getmailspring.com/jawnr/32/10514_2.png) [@jawnR](https://community.getmailspring.com/u/jawnR)\
**Post date:** [September 3, 2025, 2:53pm UTC](https://community.getmailspring.com/t/authentication-error-when-trying-to-set-up-zoho-account/9525/2 "2025-09-03T14:53:45Z")

</div>

Hey, apologies for the late reply but wanted to share it just incase you hadn’t sorted it out or to help future people that stumble across this. This is a zoho specific issue if you have MFA/2FA turned on and want to use an external client, easy workaround though thankfully.

Login to your zoho account, settings, find the ‘security’ tab, and scroll down to “Application-specific passwords”. Generate one for mailspring and input that new password instead of your actual email password when adding your account to mailspring.
