Highlighting / Emphasizing Gmail-Addon - gmail-addons

I am building a Gmail Add-On via Google App Scripts that will display provide helpful actions for emails with certain content.
Is there a way for me to highlight / emphasize / flash the icon for my Add-On (on the right hand sidebar)? This would let me notify the user that the Add-On can provide some functionality for the email they're reading.

As of now, there is no such functionality provided by Google team. The only way an add-on is activated by only user action(user has to click on the add ons icon from right side bar).

Related

Adding starting splashing Animation to Google workspace Add -on

I'm creating a google workspace add-on to a organization.For styling purpose I want to add starting splash animation very similler to the Google map, keep and contact Add-on have.Can I get an idea about, that can be done to the third party add-on , that we are creating ?
Google Workspace add-on are pretty limited in terms of design you can do. And you won't be able - as of writing - to create a splash screen that disappear without user's interaction.
You can ask for such feature using Google's feedback form.

How to access Gmail messages selected (checkbox)

I am trying to build an Add-On for gmail which will perform some actions on a set of messages selected by the user.
Looking at the gmail Apps Script API, I cannot see a method that allows me to do that.
I've noticed that some AddOns operate on selected messages, just like what I want to do. See picture below...
The checkboxes (highlighted in green) tell the AddOn what to operate on.
What am I missing?
The opened menu has options to forward the messages selected by combining them.
Also, I noticed that this AddOn is placed by google along the top. The same happen to the boomerange AddOn. The AddOn I am developing, always appears on the right hand side (pink arrows).
How can you place your addOn along the top menu?
The items you reference with the orange arrows in the image are not Gmail Add-ons, they are actually Chrome Extensions. Chrome Extensions are installed in the browser and they can add functionality by manipulating the DOM (Document Object Model) of a webpage. The chrome extension in question is probably specifically targeting chrome tabs with Gmail loaded and injecting content in the respective pages.
If you want to learn more about developing Chrome Extensions check out the following documentation:
https://developer.chrome.com/extensions/devguide
And for developing gmail specific Chrome Extensions you might want to check out the InboxSDK framework linked below:
https://www.inboxsdk.com/

Automatically open an gmail addon card without user clicking on the addon icon

I am looking for a way (I understand does not really seem a good idea) to force my Gmail addon to automatically open a card and display the same.
Basically, the addon should check the current email's tags and then auto trigger some 'showPanel' of the addon.
I see some answers about google sheets, but not getting how to go about this in the Gmail addon without user triggering it.
Additional Chrome Extension way ??:
If this is not something possible. I also have a chrome extension (which the users will have installed) clicking on a link created by the chrome extension can I somehow trigger the addon icons click event?
Apologies if this basic stuff, not able to find any direct useful info.
There is a Chrome extension that allows you to automaticlly open an addon from Gmail, Calendar, Drive and Docs when you open the page in the browser.
https://chrome.google.com/webstore/detail/auto-open-add-on/bcjnialkobgkdkbdclhdnbdcdgdcgdlo

Open Gmail Add-on by default on opening mail

I am working on Gmail Add-on using Google Apps Script.
I wanted to know if there is any way in which my Add-on will be opened by default without clicking on the add-on icon? For example, if the mail contains an attachment, add-on should open without clicking the icon on the sidebar on the right.
As of now, there is no way we can achieve that and that is not possible also because if multiple add ons have similar behaviour on opening mail with attachments, which add on should open. Many race conditions come, so I guess it is not good to have such a feature.

How to create a secondary slide-out in Google Doc add on side bar in Google Apps Script

I have a Google Doc add-on that utilizes the sidebar: no problem there. When one uses the Google research add-on, there is an secondary slide out from the sidebar that shows a preview of a search result (see picture below) when clicked. I am hoping to replicate this behaviour, but I see nothing about it in the api regarding size and limits. I tried having a tooltip pop up on my links in the sidebar, but they appear cut off or under the main Google Doc palette. I have tried a bunch of other Google Doc add-ons to see if any of them replicate this functionality, but they don't. Before I spend hours on this, I want to first ask is anyone know if this is specific permission for Google's sidebar only, or can developers replicate this functionality?
The Research Tool is a direct integration with Docs and Presentations, it's not a Google Apps Script add-on. The freedom to "slide out" within the document is not available to add-ons today.
As one alternative, you could use an accordion affect to collapse your "first page" and overlay the result page, still within the bounds of the sidebar.
A second alternative would be to use a non-modal window, where you'd have more freedom. (resizing there requires client-server exchanges, but is doable)