-2

Is there any API available to whitelist a particular email adddress using gmail add-ons?

hhsb
  • 560
  • 3
  • 23

1 Answers1

0

Gmail add-ons are triggered when you open a message.

In your case, the add-on should run and whitelist an incoming email. This implies that the add-on should get triggered even before you open a mail, which currently is not possible.

I hope this helps. Sorry if I misunderstood your question.

hhsb
  • 560
  • 3
  • 23
  • The best approach for that would be creating a chrome extension using inboxSDK. Go through this https://www.inboxsdk.com/ . – hhsb Jun 29 '18 at 10:27