Ho to schedule emails using the Google API? - gmail

Since April 2020 Gmail supports schedule sending an email. But I can't find anything related to this in the API docs.
Is it possible to schedule an email with the Gmail API?
PS:
Although this question has been asked in the past, they were posted before the functionality was available, hence a new question.

There is a request to expose the feature to the API. You can indicate you would like this feature by adding a star ("⭐") next to the issue number here:
https://issuetracker.google.com/140922183

yes the Gmail web application may support scheduling but there is no API endpoint for this.
Your going to have to code this yourself.

Related

Use username media endpoint without Authentication Instagram API

Recently i found this endpoint https://www.instagram.com/{username}/?__a=1 that not requiers authentication for use.
I need to know if may use this endpoint for integrate in an mobile application.
The endpoint is not listed on instagram documentation.
But i dont understand. It's not possible to get instagram profile media data in anyway without authentication? I hate this.
tearing me apart.
Not a good idea to use it in a production app, API is undocumented and may stop working anytime, there was another undocumented API that a lot of people were using for few years in apps and it stopped working 3 weeks ago without any warning.

How to like/follow on Instagram without using their API

Recently Instagram changed their API's policy, which means you can no longer like/follow/unfollow using their API unless you are approved by Instagram to do so.
I own the website http://instapromobiz.com which uses JavaScript and PhP to automate likes/follows/unfollows using Instagram's API. This was doing great until Instagram made this update and I can no longer perform these actions.
My question is, is there any way to perform these actions without using Instagram's API? Sites like http://instagress.com are still working so there must be another way to perform these actions without using their API.
Does anybody have any suggestions that might point me in the right direction? Thanks in advance.
You should submit your app for review. They usually answer quickly.
Go to Manage Clients (https://www.instagram.com/developer/clients/manage/), then click on Edit button of your App. Your submission can be made over Permissions tab.
But, unfortunatelly, it's probably Instagram won't authorize an app that do like/ follow automatically. They want to ensure an authentic and consistent experience for the Instagram Community, so those actions should be manual. Good luck.

Email Notifications Chrome Webstore Support

Is it possible to receive email notification for new comments on the Support page of a Chrome extension in the webstore?
On the support page of a Chrome extension I can add a new question, suggestion or bug report but I don't receive any notification about responses.
I had the same problem. I have several apps in the Chrome Web Store and I found it tedious to be constantly checking. I found an extension that claimed to have this functionality, though I found it periodically lost my list of extensions and wasn't able to actually fetch reviews consistently. You can try the extension here: https://chrome.google.com/webstore/detail/my-extensions/igejgfmbjjjjplnnlgnbejpkpdajkblm?hl=en. It is also open source, so it could be improved.
I ended up writing some of my own scripts to periodically check and send me an email when there is a new review or support request. I made it available to use as a hosted service (currently free, though I plan on asking for a little money to defray the hosting costs as well as some coffee money). Check out the hosted service at https://www.chromebeat.com. It has a full list of the Chrome webstore apps and extensions and can send you notifications on a new support issue or review. Right now it only checks hourly and sends on the hour.
Also, when you respond to a support request, the user who reported it doesn't get any kind of notification. The best way around that I've found is to actually message that person's Google+ profile, either by adding them to a circle (e.g. App users) posting publicly and mentioning them in the post, or for some users it's possible to message directly with hangouts.
[update: Oct 2015. It's now possible to "Reply" to reviews in the web store, so that's probably the best way to respond to user reviews directly]
As far as I know, there is no such option. You will have to periodically check it.
Which makes using the built-in Feedback quite useless - you're better off using something like a public bug tracker as your "Support" link and disabling Feedback.
Existing feature request: https://code.google.com/p/chromium/issues/detail?id=295837
As of 2015-03-23, it is untriaged.
No, that has not been implemented, even approaching a decade later.
New Solution:
The two options in the current answer are no longer working, so I made a small utility app to solve this problem.
You can submit your extension's id and your email address and Webstore Watch will notify you within 1 minute of a new support request.
https://gmanicus.github.io/WebstoreWatch/
Let me know if this goes down or if you experience problems. I can't guarantee 100% reliability, but I will do my best to maintain it.

SendGrid-nodejs or Nodemailer?

There are at least two ways to send email from Nodejs using SendGrid:
Sendgrid provides a Nodejs library called "SendGrid-nodejs." They're actively supporting Sendgrid-Nodejs (last update 29 days ago).
Nodemailer supports sendgrid and seems to be extremely popular. SendGrid posted an article about using this combination: Sending email with Nodemailer and Sendgrid.
Edit 2
SendGrid have ended support for nodemailer-sendgrid-transport as of today.
So, if you're starting on a project now, I would suggest going with sendgrid-nodejs.
Original question:
Edit to make the question less opinion-based:
What are the pros and cons to each approach? I have googled for days and not seen any comparison of the two. There is another StackOverflow question asking for differentiation between the two (among several other things) which has gone unanswered. So surely the answer to this will help others.
My specific usage, in case it helps focus the answers:
I want to allow users of an iPhone app to invite others to use the app. They'll see the default invitation text in the app, and can customize it. The customized text is sent to my Nodejs server and added to a job queue. As the queue is processed, emails are sent. I want the emails to look nice, so I want to use HTML email templates (and a plaintext alternate body).
Scale-wise, this will start out very small but if the app is succssful could scale up rapidly.
You'll find that you can achieve what you want to do using either library (nodemailer-sendgrid-transport was written by SendGrid too!) but given you suggest that you want to use HTML templates and plain text alternatives, you might want to take a look at using the SendGrid Node JS library because it'll give you easier access to some more advanced features, such as:
Template Engine - Which allows you to manage both HTML and plain text templates inside the SG dashboard rather than in your code - this could be handy for making quick changes, without the need to redeploy your app to production.
Advanced Suppression Management - Which allows you to group emails that users can then unsubscribe from, rather than completely unsubscribing from everything, ever.
It's worth noting that you could still use both these features with NodeMailer and nodemailer-sendgrid-transport, but the SendGrid NodeJS library directly exposes methods for these features.
Like I said, you can achieve what you want with either but I thought it was worth pointing out a few SendGrid specific things.
Well, sendgrid-nodejs is a more popular repository.
However, Nodemailer is the most popular module for sending emails with NodeJS. I've been using it for months and I'm very satisfied.
If you're worried about the future of your app you should consider that Nodemailer is used not just with Sendgrid, but with a lot of other competitors. So if you have a problem with Sendgrid, you could easily switch to another email delivery service without having to learn a different API.
So I suggest you to use nodemailer-sendgrid-transport, and if you find bugs, fix them with a PR :P

"Hello world" as a Gmail plugin?

I am trying to find out what the tech is like to create a Gmail plugin that accesses my attachments. Just to get started, what would be "Hello world" as a Gmail plugin? What would be the steps to create it?
Yes, you can creates plugin for Gmail, and two types:
Sidebar
Contextual
Look for Gadgets in gmail. After learning how to use these, you can add them to your gmail or anybody that wants to can do the same, to do so you can have Google host it.
It's easy if you know some HTML, JavaScript, and XML.
Good Luck
Take a look at these links:
https://developers.google.com/google-apps/gmail/contextual_gadgets
https://developers.google.com/gadgets/docs/basic
You cannot create Gmail plugins.
(Unless you work for Google)
Doing some quick research it looks like Google now supports a GMail api to build gadgets and/or plugins. I haven't done it myself, however it seems like they want it to work.
https://developers.google.com/google-apps/gmail/
I think you can do that. (You will find Hello World program too)
http://code.google.com/apis/gmail/gadgets/contextual/
Last year, Google released a GMail API and it allows you to perform the actions you want, but perhaps not with the UX you're looking for embedded directly inside of GMail. You can find it here:
https://developers.google.com/gmail/api/
Depending on exactly how you need it to work, you might be able to use either Contextual Gadgets (https://developers.google.com/gmail/contextual_gadgets) or a Google Chrome Extension to do what you need.
Google has recently introduced add-ons for Gmail (probably on Oct, 24 2017). It can be developed with Google Apps Script. Google's documentation says
What Gmail add-ons can do ?
Displaying additional information for the user in the Gmail UI.
Connecting to non-Google services, to retrieve information or take other actions.
Providing an interactive interface to allow the user to control the add-on or send information to another service.
I am not pretty sure (will go deep into it in coming days) whether you can deal with attachments. But I logically feel you can do that as well, because GAS supports handling attachments.
As of now, Google is not allowing to publish new add-ons however they will allow it in future.
While a few add-ons have been made available in the G Suite
Marketplace for users to install, it is not currently possible to
publish your own add-on to the Marketplace.
How can you publish your own add-on ?
As of now (26th Oct, 2017), they consider it on request basis. If you have a cool idea, fill this form to let them know about it. You will get notified once they accept your listing.
Here is how the add-on interface looks like inside Gmail
It is not possible to create plugins for Gmail. There is no developer API as such - only access to send/retrieve emails using standard SMTP/IMAP protocols.
See http://code.google.com/apis/gmail/oauth/

Resources