I want to create an add-on similar to Trello. Every time you open a mail, Trello automatically fills in the "Name" and "Description" fields for you. The name here is the "subject" of the mail and the description is the "body" of the mail. I want to achieve the same thing.
[trello-image-example][1] [trello-image-example][2] [my-add-on][3]
Here is my code: https://www.toptal.com/developers/hastebin/pejasapero.phpI get this when I run my code:
[content-not-available-image][4]
[1]: https://i.stack.imgur.com/ykRJU.png [2]: https://i.stack.imgur.com/lTAv9.png [3]: https://i.stack.imgur.com/OgHGw.png [4]: https://i.stack.imgur.com/ibWzu.png
Asked
Active
Viewed 83 times
-1

2ach
- 1
- 1
-
Feverr is the right place for it... – vector Feb 23 '22 at 12:44
-
Yes. it is very much possible. – vector Feb 23 '22 at 12:54
-
Nobody will do it from scratch here, post what you've tried so far and where in code you need help. – vector Feb 23 '22 at 13:00
-
Please provide enough code so others can better understand or reproduce the problem. – JayPeerachai Feb 24 '22 at 05:11
1 Answers
0
What you want to do is to create a Workspace Add-on
.
Here is a sample which shows, how to get data from a Email and integrate it into the Workspace Add-on.

Neven Subotic
- 1,399
- 1
- 6
- 18
-
When I copy the appscript.json to my editor, it throws an error saying "Service not found: drive v3". – 2ach Feb 24 '22 at 03:05
-
See [step two](https://developers.google.com/apps-script/add-ons/teams-addon-sample#step_2_update_the_script_manifest) in the instructions. You need to set the scopes. – Neven Subotic Feb 24 '22 at 06:50