Questions tagged [gmail]

Gmail is a free email service offered by Google. ONLY use this tag for PROGRAMMING questions related to Gmail's APIs. General Gmail usage questions belong at https://webapps.stackexchange.com/questions/tagged/gmail

Gmail is a free email service offered by Google. Use this tag for programming questions related to Gmail's APIs. General Gmail usage questions belong at webapps.stackexchange.com

The Gmail API is a API that can be used to access Gmail mailboxes and send mail. For most web applications (including mobile apps), the Gmail API is the best choice for authorized access to a user's Gmail data.

The API supports many of the basic operations available through the Gmail user interface like reading, composing, and sending mail. It also lets you manage labels on threads and messages and query for specific messages and threads.

Resources

10636 questions
3
votes
0 answers

gmail message id to url mapping

I am using gmail API https://developers.google.com/gmail/api/v1/reference/users/messages/get to get messages However, the API require "id:The ID of the message to retrieve." Is there a way to get this message id from the gmail web interface? Is…
gggg
  • 43
  • 5
3
votes
2 answers

Changing Gmail's web interface

As a part of a Firefox add-on that I'm working on, I have to change Gmail's web interface so that there are additional buttons and other features. Any ideas on how that can be done?
user626495
  • 45
  • 1
  • 3
3
votes
1 answer

Why does GmailDraft.send() make the draft's gmail labels disappear?

On a google script, I do the following: create a draft, apply a label to it, send the draft. Then when I check the sent email in my gmail account, the label is gone! My question: why would that be the case? Here is the code (I have checked the…
Jeffery
  • 629
  • 1
  • 7
  • 17
3
votes
3 answers

How to check GoogleSignIn User has uploaded image or default image set by Google

Google User getting below type default image when user does not have uploaded his image. GIDGoogleUser has GIDProfileData object which has "hasImage" boolean variable. It is always returns true. Is there is any way we are able to know User has…
Gaurav
  • 299
  • 4
  • 15
3
votes
2 answers

Problem with attachments' character encoding using gmail gem in ruby/rails

What I am doing: I am using the gmail gem in a Rails 4 app to get email attachments from a specific account at regular intervals. Here is an extract from the core part (here for simplicity only considering the first email and its first…
Morten Grum
  • 962
  • 1
  • 10
  • 25
3
votes
3 answers

Message blocked when sending email from Google Script

I have a survey form that people submit the hours they work and it sends their response in an email to me and then CC's two other people. The script was authorized by me to send the emails and has worked fine for a long time until a couple days ago…
Brad Wickwire
  • 1,093
  • 4
  • 16
  • 29
3
votes
1 answer

Mail going to recepient spam folder

We are using Post Mark API for sending mails to recipient for every action performing in our app.We are using VM file as the template for sending mails.Our clients are repeatedly saying that mail was received in spam folder instead of inbox so we…
selva
  • 184
  • 2
  • 3
  • 16
3
votes
2 answers

Unable to send email through node js, tried few methods

var nodemailer = require('nodemailer'); var transporter = nodemailer.createTransport({ host: "smtp.gmail.com", secureConnection: false, port: 587, tls: { ciphers: 'SSLv3' }, requireTLS: true, auth: { …
GT Test
  • 31
  • 1
  • 3
3
votes
1 answer

Can't send an email using a google apps account with PHPMailer

Please note that I'm using a google apps account, NOT a gmail account. I'm trying to simply send an email using my google apps account with php. I am able to send an email in a .net application using the port 587 host smtp.googlemail.com and SSL…
Chris
  • 2,341
  • 5
  • 23
  • 21
3
votes
2 answers

Image not showing in Gmail - Using django python-postmark

I've used django python-postmark for mailing. Now my problem is that my static images are not shown on Gmail. Gmail prepends a url proxy to the src of the images. if the prepended url proxy is removed, the image will show perfectly. What am I…
Christopher
  • 540
  • 2
  • 6
  • 33
3
votes
3 answers

Email markups don't work as expected in Gmail

My email markup passes the Email Markup Tester, I tried both JSON-LD and Microdata, but no matter what - I just don't see any effect of the markup in Gmail (iOS) client. Even the basic example from Google's own documentation doesn't…
Denis Mysenko
  • 6,366
  • 1
  • 24
  • 33
3
votes
1 answer

Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)

I'm trying to use PHPMailer but I'm getting the following error: Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused) Here is my code: $mail = new PHPMailer; $mail->SMTPDebug = 4; …
3
votes
1 answer

How to read emails from Gmail server by PHP IMAP

I am trying to read all emails form Gmail server using PHP IMAP. I have following configuration: $hostname = '{imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX'; $username = 'email'; $password = 'pass'; $inbox =…
3
votes
0 answers

Google Analytics - Tracking Emails - Event "open" is sent twice with Gmail Client

Following the documentation Google Analytics Email Tracking Measurement Protocol, I want to track the opening of an Email. I added the tracking pixel, with all necessary parameters.
gmichard
  • 47
  • 6
3
votes
0 answers

How to add Hangouts chat bot in the gmail's chat?

I created a Hangouts Chat bot but I can only discuss with him on chat.google.com. On mail.google.com, I turned "Chat on" but i can see the bot. Is it possible to add it ? If not, is there a possibility to create an extension or a gmail add-on to…