Gmail Add-ons - How to add Button using Html

Skip to first unread message

Dixit Solanki

Jun 22, 2022, 3:32:12 AMJun 22
to Google Apps Script Community
Dear Team
I have getting some issue in html side,  i put button in html file .but 
showing not in gmail add-ons. so i sent below screen shots and please check and  provide solutions as soon as possible. 

1. Gmail add-ons screen


3.Header.html (html file in google script)


Clark Lind

Jun 23, 2022, 8:31:03 AMJun 23
to Google Apps Script Community
I may be wrong, but you may have to use the button widget for a Gmail addon. I think most HTML interfaces are only allowed in Editor addons (Docs, sheets, slides, etc), but not Workspace addons (Gmail, Drive, Cal, etc). Workspace addons have limited actions that can be taken, and your button must use those already-defined actions.

Dixit Solanki

Jun 23, 2022, 9:21:54 AMJun 23
Thanks Clark Lind for reply me

You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit
To unsubscribe from this group and all its topics, send an email to
To view this discussion on the web visit

Clark Lind

Jun 23, 2022, 1:16:27 PMJun 23
to Google Apps Script Community
If it is helpful, this tool can help you build cards:
Reply all
Reply to author
0 new messages