Dynamic IMAP Connection in Make: Managing Multiple Email Addresses with a Single Module

Hello,

I have multiple email addresses (Outlook, Gmail, Gandi…) that I want to connect automatically in Make using a single Email module (IMAP) to avoid duplicating modules.

I have stored the connection details (IMAP server, port, client ID, secret…) in a Data Store or Google Sheet, but the Email module is unable to connect dynamically.

My goal :
:small_blue_diamond: Loop through each email address, fetch 10 emails, then move to the next one using a single Email module.
:small_blue_diamond: Ensure the Email module retrieves the connection details dynamically from my Google Sheet or Data Store.

How can I configure this correctly? Thanks!

Before (what i have)

After (what i want)

Welcome to the Make community!

This is correct. You will have to set up each connection separately, and use multiple “Get Emails”
modules.

Try using the Email “Get Emails” module:

Returns emails that match the specified criteria.

For more information, see Email page in the Make Help Centre, which covers the following:

  • Connect Your Email Account to Make
  • Triggers
  • Actions
  • Iterators

You should also take note of the following important details:

  • On October 1, 2022, Microsoft began a gradual deprecation of its current basic authorization protocol. Full deprecation of the basic authorization protocol will happen as of 1st of January, 2023. To solve this issue, we have upgraded our Email app to support a new type of connection: Microsoft SMTP/IMAP OAuth. By using this new selection choice, you can create new connections to existing Microsoft email accounts.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

It’s a pity, I would have liked to have a single Email module that manages all my email addresses.

I’ll try to implement your solution. I’ll get back to you if I run into any problems. Thank you for your help.