Can I authenticate an IMAP account using a username only?

Hosted authentication requires an email address, only Native authentication supports the usage of just a username, excluding the @email.address. If the account has a different username for SMTP this is also the route you must chose.


You can get the token used for making app level changes via:

Authorization: Basic = echo -n "client_id:" | base64


curl --location '' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic xxx' \
--header 'Cookie: __cf_bm=lZ3dFB_dWPVkS9_LmIKQ7xt4stQyPjt6nm1KCDhP2TQ-1691586307-0-AZIuigNufwIUeuesx8iTV8EsTRc46GwG587mkpxuXq6PWb9SPrZgxDcSrBavl/hXVpF80bDmtrwDoztMdB9+KR4=' \
--data-raw '{
    "client_id": "3odbtm8lnwifwpgfq5wi0spjj",
    "name": "Nyla the Cheetah",
    "email_address": "",
    "provider": "imap",
    "settings": {
        "imap_host": "",
        "imap_port": 993,
        "imap_username": "",
        "imap_password": "xxx",
        "smtp_host": "",
        "smtp_port": 465,
        "smtp_username": "",
        "smtp_password": "xxx@!",
        "ssl_required": true


This returns a code which you then need to swap for a token with 


We have no plans of integrating this with Hosted Authentication.



Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request



Please sign in to leave a comment.