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

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.

Related

Sign document from own site using docusign

I am developing one application and successfully integrated it with DocuSign.
I am sending an envelope to the user using docusign API, the email sent from docusign host, when the user clicks the email it navigates to DocuSign website. Is it possible to edit the email sent link and sign from my own website?
Note: Still ok, if this functionality available any other third party instead of DocuSign.
Yes, please have a look at our embedded signing page:
https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/embedding/
More specifically, review createRecipient API: https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createrecipient/
Let us know if you still run into issues implementing this.

Enable another user to set gmail filter for my email

I am looking to set up an email forwarding system. I have successfully used the Gmail API to read and edit emails from my ADMIN account (the admin account is a gmail account that I created and has oauth2 credentials from the Gmail API as described in the Quickstart guide).
I would now like to enable USERS of my web application to click a button that will programmatically create an Gmail filter for the USER email that will forward specific messages to the ADMIN email. I am using the Python API.
I am trying to use the filter API, but am getting a "Delegation denied for ADMIN_EMAIL.
How do I approach this?
Thanks!

Can the Gmail interface be extended?

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.

How to make user browser download gmail attachment directly from GMAIL?

How to make user browser download gmail attachment directly from GMAIL when accessing 3rd party web app which can get the attachment information using gmail api?
Here's the scenario:
1) There's web application with server side code that can fetch emails using GMail API.
2) If the message has attachment and the user clicks download attachment button I want the user browser to download the attachment directly from GMail without having the web app download it first to server and then send it to the user browser.
So basicly I'm asking how to create URL that points to gmail and makes the user browser get the attachment from there. Does this make any sense?
We can assume the user browser can/is authenticated to GMail.
Tried finding possible solutions but failed.
There is no way to make an URL to an attachment using the Gmail API. CORS is enabled however, so you could use the access_token on the front end to download the attachment right away, but exposing the access_token to the client comes with a set of security risks you will have to take into consideration.

DocuSign REST API, change account's email address? (ie, the users login name)

At my company, we are implementing some parts of DocuSign, and have run across a scenario we believe the REST API does not support.
There are times where user's in our system change email addresses. We want to push this change to DocuSign for the user, without the user ever requiring to log in to DocuSign and manually change their email address via the console. This, of course, changes the username the user authenticates with on the login page of DocuSign.
Is it possible, using the DocuSign REST API, to change a user's email address (which in effect changes their login name do DocuSign)?
The DocuSign system does not support changing the email address through the API (REST or SOAP). This is mainly due to security restrictions - unfortunately your users will need to manually go into the DocuSign Console and go to Preferences to change their email address.
One thing that might make this process a little smoother is to automatically open the Console for your users when they request to change their email address. You can open the Console in an embedded iFrame in your site or app and from there they can change their account info. You would just need the user's credentials (along with the integrator key of the integration) and you can open the console for them.
The third API Walkthrough - Embedded DocuSign Console - illustrates exactly how to do this in 6 different languages (PHP, Java, Javascript, Python, C#, and Objective-C). You just need to make the following call from your environment, with just your accountId in the body of the POST request:
Method
POST
URI
/accounts/{accountId}/views/console
BODY
{
"accountId": "XXXXXX"
}

Resources