unthinkmail

give your ai access to your email inbox via mcp

enter your imap credentials to get an encrypted api key. nothing is stored.

quick fill:
your api key — save this somewhere safe

    

claude desktop / claude code


      

endpoint


          
        

new keys are encrypted with a server secret when configured. revoke access by disabling the app password at your provider.

claude.ai, claude desktop, & other mcp clients

all modern mcp clients support oauth — just add this server url:

https://unthinkmail.undivisible.dev/mcp

your client will automatically open an authorization page where you enter your imap credentials. no manual key needed.

what the ai can do

  • list your mail folders
  • search messages by keyword, sender, date
  • read full message content
  • move messages between folders
  • delete messages
  • send and reply to emails

gmail app password setup

  1. go to your google account → security
  2. enable 2-step verification if not already on
  3. search for "app passwords" or go to → app passwords
  4. create a new app password named "unthinkmail"
  5. use this 16-character password in the form above (not your regular gmail password)

smtp uses port 587 (submission with tls). imap uses port 993.

outlook / office 365

  1. sign in to your microsoft account
  2. if using 2fa, go to security → app passwords
  3. create a new app password for unthinkmail
  4. use this password in the form above

settings: imap.outlook.office365.com:993, smtp.office365.com:587 (tls). use your full email as username.

fastmail

  1. go to fastmail → settings → security
  2. scroll to "app passwords" and create a new one
  3. name it "unthinkmail" and copy the password
  4. use this password in the form above

settings: imap.fastmail.com:993 (ssl), smtp.fastmail.com:465 (ssl) or 587 (starttls). use your full email as username.

icloud mail

  1. create an app-specific password for your Apple Account.
  2. use the local part of your iCloud address for IMAP if it connects; otherwise use the full address.
  3. use the app-specific password in the form above.

settings: imap.mail.me.com:993 (ssl), smtp.mail.me.com:587 (ssl/starttls). SMTP username should be your full iCloud email address.

purelymail

if you have 2fa enabled on your purelymail account, generate an app password in your account settings and use that. otherwise, use your regular password.

settings: imap.purelymail.com:993 (ssl), smtp.purelymail.com:587 (starttls).

security

your credentials are never stored — they're encoded into the access token itself and decrypted per-request. use an app-specific password if your provider supports it (gmail, outlook, fastmail, and icloud all do). to revoke access, just disable the app password at your email provider.

undivisible.dev · donate · source