IMAP
IMAP lets Refract read one-time codes from your email and submit them automatically, speeding up logins and checkouts on sites like Best Buy.
Some sites email you a one-time code during login or checkout. With an IMAP login added, Refract reads the code from your inbox and submits it automatically instead of making you race to type it in. Best Buy email codes and Target OTP login both rely on this.
IMAP logins live in the bot under Settings > IMAP Logins.

Outlook emails are not supported. The only way to use an Outlook email with Refract is through AYCD Inbox. See the AYCD Inbox section below.
Add an IMAP login
Enter your credentials
For a single account, use Input one login and enter the username and password. To add many at once, switch to Mass login input and paste credentials one per line in username:password format.
The password is usually not your normal email password. Gmail, iCloud, and Yahoo all require an app password for IMAP; see the section below for how to generate one.
Get an app password
Follow the section for your provider, then use the generated app password as the password in Refract.
Treat app passwords like real passwords. Anyone with one can read your email over IMAP. If one is ever compromised, delete it with your provider and create a new IMAP login in Refract.
Gmail
IMAP is enabled by default on all Gmail accounts.
Enable 2FA at myaccount.google.com/signinoptions/two-step-verification/enroll-welcome. App passwords require it.
Go to myaccount.google.com/apppasswords, add a custom app name like
Refract, and click create. Use the generated password in Refract.
Gmail limits simultaneous IMAP connections. Google documents the limit as 15 connections per account, but in practice it kicks in sooner. Avoid using the same IMAP login in multiple bots at the same time. If you hit the limit, the only fix is to close the other connections, wait, and then log in again.
iCloud
Sign in at account.apple.com.
Open Sign-In and Security > App-Specific Passwords.
Generate a new password with a name like
Refractand use it in Refract.
Yahoo
Scroll down to Other ways to sign in.
Click Generate app password and generate a new one.
Use the generated app password to add your Yahoo account in Refract.
AOL
Scroll down to Other ways to sign in.
Click Generate app password and generate a new one.
Add the account in Refract using the Custom server option with your AOL address and the app password.
AYCD Inbox
Refract integrates with AYCD Inbox, an email client built for managing large numbers of accounts. If you run your emails through Inbox, Refract can pull codes from it directly. This is also the only way to use Outlook emails with Refract.
Refract users get an AYCD partnership discount. Claim it here: aycd.io/account/partnership/offers
AYCD has to be open and running. The Inbox API only works while the AYCD application is running with Inbox active on the same machine as Refract. Close AYCD and Refract stops receiving codes, even though the API key is still saved. Leave it open for the whole drop.
Setting up Inbox itself (adding your accounts, OAuth2 logins, forwarding) is covered by AYCD's own guides: support.aycd.io/account/guides/category/inbox.
Manage your logins
Right-click a login to Edit, Login, or Delete it.
Login Selected (the lock button) logs the selected accounts into their mail servers.
Export Logins exports your saved logins.
The red X deletes the selected logins.
Connection status and errors
The Status column tells you whether each login is working. A working login shows Connected in green. That is what you want to see before a drop.

If a login has a problem, the status shows a red error in the form Error: <error code>. The most common one:
Error: Invalid credentials (Failure): the email or password is wrong. Remember the password usually needs to be an app password, not your normal email password. Edit the login (right-click > Edit) and fix the credentials.

If a previously working login starts erroring, check whether that same email is connected somewhere else. Providers limit simultaneous IMAP connections, so the same login running in several bots at once will get rejected. Close the other connections, wait, then log in again.
FAQ
Last updated
Was this helpful?


