searches incoming gmail mails for specific keywords - gmail

Can Gmail be set up to search incoming mail, on my android phone, for specific keywords?
Then when a keyword is detected, alert the user with a particular sound?
Iv'e looked through all the gmail settings, but cannot find a way of achieving this, if it's at all possible, that is.

The gmail app for android has a filter that if set up with your gmail labels filter correctly, Will produce a sound of your choice on certain keywords.

Related

Is there any way to check if the emails sent by my app are open?

Hello I have developed an application that works with React.js and Node.js.
I use AWS and SES (Simple Email Service) to send some emails.
My question is whether there is any way I can keep track of emails sent and opened by my users to prevent them from qualifying me as spam or that my SES account health will decrease too much.
I have seen that there are some browser extensions with which it marks the emails sent with a double tick if the user have read it, but I do not have a record such as in gmail.
Has anyone encountered any similar problems?
Is it possible via AWS or via Node to achieve this?
Greetings and thanks in advance.
I agree with #Ravi's answer above - SES does provide notifications - however in my experience the open notification is a lot less reliable than the delivered and bounce notifications.
Tracking opens is difficult as browsers, popup blockers/security software and email clients themselves can disable/break features like read-receipts and tracking pixels in the name or privacy. The most reliable way of tracking opens is to have a clickable link in the email body (and a compelling reason for your user to click on it) and include a unique id in the URL that you can capture server-side.
With the help of some simple configurations with SES and SNS. By creating a topic and doing the subscription like where you want to get the notifications. Through this, you can track the status of your emails whether they are opened or not. SNS will send you email notifications.

How to disable Google Schemas

I would be interested to know if there is the possibility to deactivate the email markup for gmail, because it happens that in some situations Gmail puts one that is not correct in terms of the information it shows.
Our application does not have the email markup set when sends an email, but Gmail does it its own way and with errors.
Regards.

How do you make sure you're getting the correct user's email in Dialogflow when they are speaking it?

Hi I'm not a coder and need guidance.
I'm creating a simple skill for Google Assistant in Dialogflow where the goal is to get a user's email. However, when I test it out verbally in Google actions console most of the time it picks up the wrong email address, (I'll say nhs.com and it thinks I'm saying something different) even though I have put example emails in the entities bit.
What is the solution around this? Is it possible to ask permission in Dialogflow to get a users data? I think Google Assistant says no you can only do that (account linking) if you build in Google Assistant? Can you ask the user to verbally spell out their email address, although no idea how you would go about doing that.
It is not recommended to ask the user for their email. Emails can have a very difficult structure consisting of characters and numbers. Because of this Google provides you with the option to retrieve the users details via accountlinking. I've listed some options for retrieving an email.
1) Google Sign-in (Requires Code)
Since you said you aren't a coder it will be a bit challenging to get the user's email easily. Your best option would be to use Google Sign-in accountlinking. This provides your bot with a flow that asks the user permission to use their email automatically.
To be able to use this code, you might have to use some code since I do not know if Dialogflow supports retrieving the user email from the webpage when using accountlinking.
The benefit of Google Sign-in is that you will get the active email that is in their Google profile.
2) Regex entity (Requires some technical knowledge about regex)
Dialogflow supports a feature called Regex Entities. With these entities you can provide a regex which will look through the user input for a pattern. If the user input matched the pattern it will take this from the user input. In your case you would need a regex to check for an email pattern.
With a regex entity the user can be prompted to tell their email. With this you approach you won't be certain if it actually is their real email and you might have to add a flow to double check if there weren't any typos in the email.
3) Email entity (Least technical option)
As Rally mentioned in the comments, Dialogflow also supports an email entity. This can be used to automatically detect an email in your user's input. Though it is an easy option to use, I've noticed that it doesn't always detect every email and since you can't improve it's behavior, it might not be the best choice. It definitely is the least technical option, but it might not always work.

GMail IMAP API limited to first 1000

I've bee experimenting with GMail IMAP API using the gmail ruby gem and was unable to pull search results for old emails. More specifically, if I would search for emails about a year ago they would not show up in the search result. This seems consistent with the Mail app on iPhone which also uses IMAP and seems likes its impossible to retrieve old emails.
It seems like this might be related to some limit that Gmail is putting on the IMAP interface which limits it only to the first 1000 emails.
Anybody else can confirm this?
Is there a way around this?
That's settable in gmail. I don't remember whether it's a per-account of per-mailbox setting.

Link to individual mails in gmail

I want to download all emails in a gmail account and also want to get the unique url which will open the exact mail in gmail, off course with authentication. I tried using javax.mail imap library but Imap probably doesn't supports anything like it.
I can use "https://mail.google.com/mail/feed/atom" gmail feeds. but won't give me entire email and it only gives unread email and I don't want to miss any email
You can do this if you are using Google Apps for Business/Education. If you are, you can access the Gmail inbox feed (Atom) by using OAuth. OAuth can also be used to access Gmail via IMAP - you can then have complete access to the IMAP server programmatically, see Gmail IMAP and SMTP using OAuth.
Google has extended IMAP to allow developers to provide a more Gmail-like experience via IMAP, see: (Gmail IMAP Extensions, X-GM-EXT-1).
The unique message (X-GM-MSGID) and unique thread (X-GM-THRID) ids can be used to produce links to Gmail messages directly - you just have to hex encode the id long (e.g. Long.toHexString(x_gm_msgId)). Your link will then need need to be in the form of:
http://mail.google.com/mail?account_id=ACCOUNT_ID_HERE&message_id=MESSAGE_ID_HERE&view=conv&extsrc=atom
supplying ACCOUNT_ID_HERE (something like user#someplace.com) and MESSAGE_ID_HERE as appropriate.
I have been working in this area and think you might find my project useful, see: java-gmail-imap.
[NB: URLs formatted as above do not work on Gmail's mobile site (at least on iPhone/Safari).]
https://mail.google.com/mail/#all/HexEncodeMessageID
replace the HexEncodeMessageID part with the ID. You get it, when you open the email in a new window (use the pop out icon in the upper right corner.
The id looks like this: search=inbox&th=1426b8f59e003aa0
I'm fairly confident this is not possible - that there is no reliable way to get the unique URL that'll lead to a single email in Gmail. I'd love to hear otherwise!
I do believe it is possible to get a URL that will lead to the Gmail thread containing the message - but you have no control over which message(s) are "expanded" in this threaded display.

Resources