Hello Steffen,
When you asked earlier whether I was getting refresh tokens, I said I
hadn't checked. Now I have, and I am not getting them. I found a zoho
faq page about it (can't find it again, their website is impossible to
navigate) saying that I needed access_type=offline, so I tried that, but
it didn't make any difference. So that's a problem.
I also tried logging in and then immediately doing "account zoho" with
debug set to see whether it would tell me why I wasn't getting access to
the Inbox. At the end I got
s-nail: TLS connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
s-nail: >>> SERVER: * OK svwall.zoho.com IMAP4 Server (Zoho Mail
IMAP4rev1 Server version 1.0)
s-nail: >>> T3 CAPABILITY
s-nail: >>> SERVER: * CAPABILITY IMAP4rev1 UNSELECT CHILDREN XLIST
NAMESPACE IDLE MOVE ID AUTH=PLAIN SASL-IR XOAUTH2 UIDPLUS ESEARCH
LIST-EXTENDED LIST-STATUS WITHIN LITERAL- ACL CONDSTORE
s-nail: >>> SERVER: T3 OK CAPABILITY completed
s-nail: >>> T4 AUTHENTICATE XOAUTH2
dXNlcj1zLmlzYXJkQHpvaG9tYWlsLmNvbQFhdXRoPUJlYXJlciAxMDAwLmNiZDhkMjM0MzZhZTQwYjVmN2VhYWU3MWZhYThhZTY0LjJkMjI0ZWU0MGQyODM3MmVjZWJiOGNmMGUxNzYyNTI4AQE=
s-nail: >>> SERVER: T4 BAD [CLIENTBUG] syntax: Invalid sasl Argument
Does that tell you anything useful?
Stephen Isard