Can the Gmail interface be extended? - gmail

Is it currently possible to build an app or script such that it appears as part of the Gmail interface and can interact with Gmail message content?
For a while Gmail sidebar gadgets allowed the creation of customized sidebars that would appear in the Gmail interface, but these gadgets are now deprecated.

Gmail add-ons provide a way of extending Gmail, using Google Apps Script as a platform.
You can create a UI panel using the widget elements provided by the Apps Script Card service. The interfaces developed for Gmail add-ons work for both desktop and Android devices.
Gmail add-ons can react to Gmail message content and also use the other Apps Script services (such as the Calendar service) to access data on behalf of the user. Connections to third-party services are also possible.

Related

Send a Google Chat message from a regular account (not a bot)?

I'm trying to send a notification out using Google Chats. But I have a few problems with the documentation I've been able to find:
It requires me to have a paid service account, which I do not have, and will not be getting
It requires using a chat bot, which (in my understanding) needs to be added to a room, and cannot just send out messages
Chat bots can't send out messages directly to personal accounts?
I'm already using Google OAuth2 authentication to access another Google API, so I'd like to use a Google API to send messages directly from the authenticated account. How would I do that?
So far:
All the documentation I can find is about making a chat bot.
I've considered some alternatives to sending out messages, but due to corporate device restrictions that will not be changing, google chats is my best option.
At the moment what you're trying to do is not possible, for multiple reasons.
You may know this already, but Google Chat is an upgrade to their old "Classic Hangouts" chat. In Google's own words, this is focused on enterprise (i.e. paid) accounts. While personal accounts are also able to upgrade and get some of the benefits, their documentation shows that Google Chat for personal accounts is very similar to the old Hangouts and most of the new features are meant for the paid accounts. This also includes the use of bots.
As you've observed, the Chat API currently only has methods to create and manage bots. There are no methods to send messages as your own account. This could be to prevent spam or because their Chat API is relatively new, since the Classic Hangouts did not have an API, and Chat hasn't fully replaced it yet. Even then, given that Chat is "enterprise-focused", it is uncertain whether or not personal accounts would get access to any new API features.
You could try to post feedback on their issue tracker or request the feature to see if you get a response, but for an immediate solution you may want to just use the Gmail API to send a regular email or reconsider the other alternatives that you had in mind.

Log into external web app using NetSuite Credentials - Singe Sign on | SuiteSignOn

For our usecase/situation below; should we be using SuiteSignOn to make an outbound call or an inbound call?
Usecase:
We have a Netsuite webstore (SCA). People login and purchase medical tests from us. After customers have performed their medical test they can view their results in our external web application (PHP Laravel web app). We want to use 1 single sign on for both applications (NS webstore and Results web app). Ie, the user will use their SCA webstore account login details to login to both applications.
We expect customers to go to the Results web app and somehow login using their NetSuite user credentials. I assume NetSuite (SuiteSignOn) can embed a login form in a external web app?
So would the above usecase be considered a SuiteSignOn outbound call or SuiteSignOn inbound call?
Check into Google Auth. That is supposed to be released as soon as all of the 2017.1 upgrades are rolled out. That would allow you to use the same authentication credentials.

Docusign in iOS app with 3rd party signer

I want to add docusign functionality to an iOS app using this API:
https://www.docusign.com/developer-center/api-overview
Consider this use case:
An agent visits a client in their home. The agent brings his own iPad with my app installed. While interviewing the client the agent fills in all the information on the iPad app that I provide. This is a regular application; not a fillable .pdf. A fillable .pdf is not sophisticated enough to gather all the information we need to gather.
At this point the app could generate a .pdf with all the data that was gathered.
What are my options to have the client sign the document?
Is is possible for the agent to hand the iPad to the client for signing?
Can the client sign without an email address?
What are the caveats to those options?
The docusign site is good, but it is not easy to understand the user experience from the API.
I would guess that the client needs an email address and needs to sign the forms on their device that receives email, but I wanted to confirm.
Take a look at Docusign embedded signing for your usecase.
Embedded Signing - or the Recipient View workflow - allows users to
sign directly through your app or website. When you embed your
recipients you are telling the DocuSign platform your app will
generate signing URLs, authenticate your recipients, present the
signing request, and re-direct once the transaction is complete.
For browser integrations re-directing or framing can be used to host
the signing workflow, for mobile apps (iOS and Android) you should use
a webview.

Gmail API in a Chrome Extension

I am trying to get Gmail updates in a chrome extension, other than oauth is there anything specific thing I need to do, to import the Gmail API into the extension?
Here is a complete code example from the most credible source.
You will also need to connect to Gmail with either the the IMAP or SMTP protocol in order to check for new emails.
There is a lot of documentation from Google on how to implement OAuth2 for your extension as well as how to connect to Google Services.
The documentation will tell you what kinds of permissions you'll need.

Is possible to display a link to my website in gmail inbox

Is possible to display a link to my website in gmail inbox, I have a google business account.
I developed an API that first check user login, and then directing to a website, i want to display its link in gmail inbox
You can do this via Gmail Sidebar gadgets.
To create a gadget with a simple link, you just create a gadget spec and make it available via a public Url. There is a simple editor for Gadgets.
Gmail gadgets can make requests to external services via makeRequest() function. If you need user authentication then your gadget must do OAuth authentication.

Resources