Reputation: 99
in my company environment auto-forward vial gmail filter has been deactivated by admin for security reasons. However I am in the situation of having to forward multiple emails on a daily basis. So I thought I program a little addon that can help me.
The workflow should be:
While I am able to create a widget in the sidebar via CardService. I struggle to "grab" the selected emailthreads in an array or List, so I can loop and forward.
My question: After pressing "send" I need to grab the selected mails via AppScript code, like
var selectedMail = [email1, email2, ...]
Could anyone please help me to kickstart this? Thanks!
Upvotes: 0
Views: 296
Reputation: 19339
It's currently not possible to access selected threads in Gmail add-on.
This feature has already been requested in Issue Tracker:
I'd suggest you to star the referenced issue in order to help prioritizing it and to keep track of it.
With current functionalities, I think your best option (as mentioned by Cooper) would be to:
Upvotes: 1