Exceptions for tables and website information

Hello!

I have a snippet who insert emails addresses from a website to my composing email, I wanted it to look into my email addresses table to insert the address that matches with that name or check if that person has a team which be addressed like "nameTEAM@domine.com" that way is can replace the name for the full team email address automatically, instead of just inserting the name and expecting Gmail to provide the correct address form my contacts, I'm experimenting some ways to do this.

Will be really helpful if someone has an example to do this easily

Thanks

Hi Johan,

I don't fully understand what you are trying to do. It would be helpful if you explained it a bit more.

Here are some things that you might want to pursue depending on what you are trying to do.

  1. Custom User Properties

If this snippet is being used by different people on your team, you can directly specify their email, name, or other attributes for them using.

You can learn more about this here:

  1. You can store a mapping of key/value pairs in your snippet using named lists. This allows you to look up values (like a name or team) given a key (like an email).

Here is an example:

  1. You could use Data Blaze to store a mapping of key/value pairs. This is like option (2), but allows you to work with the data in a more structured format.

You can learn more about that here:

Let me know if this helps!