Does the Shippo API have the capability to suggest address corrections upon validation - shippo

When doing an address validation, does the Shippo API response have the ability to return address suggestions? For example, in e-commerce sites, when you enter in your shipping address, you sometimes get a popup with multiple address variations that asks which one you want to use.

Cathy , The address validation doesn't provide address suggestions. It provides info on whether the address is valid or not in the response.
For validating addresses for US and get suggestions, you would want to rely on 3rd party apis something like this : https://www.smarty.com/products/apis/us-street-api or https://www.postgrid.com/lp/address-validation-autocomplete or via UI : https://www.ups.com/address_validator/ or similar tools.
I will create a feature request for my team and see if we can add this as a feature.

Related

Can two Pagerduty services use the same email address?

I am setting up technical services in Pagerduty for a team and want all of them to use the same email integration, specifically, the same email address.
I see that I am allowed to associate the same email address to multiple technical services.
Is this the right thing to do? If not, what are the drawbacks?
A drawback to this is that you'll get an incident for all of those services that share the email. Depending on the size of your setup, this will cause a lot of noise for oncall.
If you want a single email, I'd suggest a global event rule or event orchestration. This products a single routing key and email but still allows you to use rules to route the incoming event to a specific service.
https://support.pagerduty.com/docs/rulesets#global-rulesets
https://support.pagerduty.com/docs/event-orchestration

How to check whether an email has been used in a website?

Suppose I have an email address abcd1234#gmail.com, I would like to check whether this email address has been used in Apple,Facebook,Twitter and so on. (used means it has been registered as an account).
How to do it with programming? It there any open API ? Any language will be fine.
No. A feature like this would be a security risk, because finding valid account email addresses is the first step in getting control over the account (second step is retrieving the password from somewhere).
There is no such api, this seems to be really unsecure thing.
The way I can see for you to do this – try to register a new account with this e-mail address, and view the result.

Retrieve Klout score using Email Address

I'm trying to find a way to lookup a Klout score using either an email address or a facebookID. Looking at the API documentation for Klout (http://developer.klout.com/io-docs) it looks like it's possible to do this with just about everything else except facebook or email.
Am I missing something? I would have expected getting a klout score from an email address would be fairly standard.
We don't offer FacebookID because Facebook's TOS doesn't allow two 3rd party developers to transfer Facebook IDs between eachother.
We don't offer email addresses to respect user's privacy, and it would only apply to a registered userbase.
There are outside companies that provide email to social identifier translation, which may enable you to get at this data, but it's not something we're looking to provide directly in the near 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.

Server for proxying emails for the purpose of hiding original address

For an application we are building, it is required to give certain registered accounts the ability to send emails to other registered accounts.
As part of the registration, we obviously collect the real email address of every user.
I do not want to expose any of my users' email addresses so I would like to have the ability to proxy them through fake email address that basically forward to the real email address.
For example, if someone want's to email John Doe, they would send an email to abcdefg12345#mysite.com which would then forward the email to john#johndoe.com.
In case its not obvious, the purpose of this is to protect the end user from spam and keeps their real email address private. Since my application acts as the proxy, I could easily block certain email's from going through.
The most famous example of this is Facebook's email proxy for Facebook Apps.
My Question: Are there any patterns, servers, 3rd party services, or libraries that provide such a feature? Does anyone have any suggestions for how this could be built?
I've never seen a service that offers this directly. The hardest part here is the receiving of the emails and wiring things up to your app for the authentication. You could use a service like http://cloudmailin.com in order to receive the email and then forward it on or even use some sort of custom install. Another option would be to create a script that modifies a server such as postfix's configuration.
Finally although I wouldn't recommend it you could try and create your own mail server to do this. I would read up a little more on SMTP/IMAP and see what options you have.
It looks like there is no 3rd party service or tool\library to accomplish this. It is going to be a bigger task than I was hoping for so I will be putting it off until I have the time to implement it.
I think the solution is to use a mail daemon that has an API or at least allows you to manipulate the users\emails\aliases in it such that you can create new mailboxes on demand and set them to forward from someuser#proxy.mysite.com to user#theirdomain.com
I found out that there are services that provide this type of functionality as part of their offerings:
http://mailgun.net/
http://www.sendgrid.com
Both of these services are very cool and offer quite a bit for sending and analyzing emails including the ability to create forwarding\proxy emails.