Insert data into a google spreadsheet via a link - email

I'm looking for a way for users to send data from an email sent to them in a single click using google scripts.
Basically, I have a spreadsheet with a list of emails, and I want to send an email to all of them (I've already set up a sort of mail merge script).
The tricky part is that I want the emails to contain links unique to each person. If they click one of the links, I want data to be entered into the spreadsheet in the row corresponding to their email address.
Is this at all possible?

I posted this response to basically the same question a few weeks ago. It uses the technique described by Henrique in the above comment to use an item from the individual row as a parameter in the webapp url.

Related

How to send personalised emails with dynamic attachements to a mailing list?

I have a mailing list on SendGrid that needs to be sent information from a database. This list is quite large and it would take days to manually transfer all the data and make 5000 separate PDF's from our excel spreadsheet.
Additionally, each email sent would need to have the specific PDF for that specific person in the mailing list. Each PDF would contain different information depending on the person's details.
How do I go about personalising each email from a generic template (e.g. Hi ____ etc.) and send dynamic attachments to each of the people on the mailing list that corresponds to their data?
I have tried to import data from excel into PDF's but am having trouble with this.
I have a relatively simple knowledge of coding and am not sure how I would go about making the email personalised and be able to send a dynamic attachment for each recipient.

In Kentico, is there a way to convert an Email Feed (in email marketing) from Newsletter to Email Campaign?

In Kentico, is there a way to convert an Email Feed (in email marketing) from Newsletter to Email Campaign? Even if it requires coding?
Anything is possible!
Have you looked at the modules and the referenced database tables? I'd suggest starting there and working, in code, to get your email feed and create an email campaign. It won't be a 1 to 1 match but you should be able to fill in the blanks with either real data or false.

How to make Gmail atom feed show all emails in a conversation, or the last email in a conversation

Background: I'm currently trying to use the Gmail Inbox Feed (https://developers.google.com/gmail/gmail_inbox_feed) in my browser automation script in order to defeat 2-factor authentication. I'm working as a tester and want to bypass the profile creation to get to testing the actual bugs quicker. Basically my script tries to log into my website that has 2-factor authentication, then it gets the latest email using the feed and looks for the token that the website sends.
My problem is that it seems like the feed is only showing the oldest email from each conversation. It doesn't show new emails. That won't work for me since my script will trigger a bunch of these emails and they all get grouped into one conversation. And I need the latest email since that is the one that has the token. Curiously, the <issued> tag shows the date and time of the newest email even though the email in that containing <entry> tag is an old one.
If you want to reproduce this problem yourself: send an email to yourself, then reply to that email with a different message so that both emails show up in the same conversation. Then mark them both as unread by clicking the dropdown arrow on the oldest email and then clicking "Mark unread from here". If you go to the feed URL above, it will only show the first email you sent to yourself.
Is there a setting or parameter that I can set in order for the feed to show all latest emails? Or at least the newest email in each conversation?
I tried turning "Conversation View" off at Settings > General but that didn't solve my problem.

Automatically whitelist emails to Google Schema Markup

I am interested in providing my users with custom emails account, and would like to whitelist every one of them in Google Schema Markup.
As for now, I have found the next form:
https://docs.google.com/forms/d/e/1FAIpQLSfT5F1VJXtBjGw2mLxY2aX557ctPTsCrJpURiKJjYeVrugHBQ/viewform?pli=1
Using this form, you can manually submit a request to add your email address (after doing all the preparations and steps Google asks for) to the Google Schema Markup whitelist.
My question is, since I am interested in opening email accounts automatically for my users and would like to also whitelist them automatically to Google Schema Markup, if there's a way to do so, or do I have to / have my users to complete all the steps and submit the form every time manually?
The form I linked has the next question:
From what email address are these emails sent?
Maybe there's an option to use a wildcard or to whitelist the whole domain the emails will be based on? (I am planning to use a single domain for all the email accounts)
The emails my users will send are using the same pattern and will have a very similar content (mostly receipts and invoices).
So far I see that there is indeed no way of submitting a whole IP / emails in bulk to Google Schema Markup.
I have filed a feature request as #noogui suggested. Hopefully they'll do something about it in the future.

Tracking email responses

What is the best way of tracking responses for email campaigns? I was thinking on adding something to the reply-to field of the email (for example luqita+campaigns#stackoverflow.com), but I'm not sure if there is something more neat that could avoid this?
I thought about headers too, but it's important to note that the address luqita#stackoverflow.com would send many different campaigns, and the 'in-reply-to' header info would not be useful then to differentiate (while using luqita+campaign1 or luqita+campaign2 could)
What can I do?
So you want to be able to execute some logic when someone replies to an email you have sent through SendGrid? If you have access to change the MX record of the domain of the email address at which you want to receive the replies, you could use SG's Parse API to get a POST request to a script whenever email is receive at the address.
I think you would indeed have to set a magic reply-to address for each campaign. This seems like a perfectly fine solution; it's also how SG itself tracks bounces - it sets the return-path to something like bounces+{attempted-recipient-email}#sendgrid.com. Then examine the 'to' parameter of the POST notification you receive to know which campaign the reply is associated with.
When you say "tracking responses", do you mean that you expect users will reply to the Email, or do you mean that they'll click on a link in the Email and interact with a web site?
SendGrid obviously offers click tracking and open tracking, and you can set up to 10 different categories for tracking campaign stats and see delivery/bounces/opens/clicks/etc based on those categories. They also have a Google Analytics plugin that can feed back some analytics data to Google. And as #LinusR mentioned in his answer, the SendGrid Parse API can be set up in a way that reply Emails can get parsed and posted back to your site.
If the user will be interacting with your web site, you can use the "unique args" setup at SendGrid to set a unique string/hash to append to any URLs that can help identify a particular user, campaign, or whatever else you want to track.