My team is discussing how we can improve the fraud prevention algorithms on a customer's platform. It's not surprising that email addresses used in fraudulent activities are often registered with free mail providers such as Gmail.
One criterion that we are missing as an input to our fraud prevention system, which would give us very valuable information, is the age of an account.
Is there an API method (or any other way) that would allow us to query when a Gmail account was registered?
Something like https://api.gmail.com/age-of-account/[email protected], which returns the date of or timespan since creation, would be very useful.
Select “Forwarding and POP/IMAP.” from the “Settings” menu at the top. Look at the “POP Download” section. Look at the first line, “Status: Pop is enabled for all mail that has arrived since [MM/DD/YY],” which displays the date you created the account.
You cannot get when an account was created through any existing Google API. You could probably get rid of a lot of low hanging fruit with something along these lines though, using the Gmail API:
nextPageToken
in the response. Then you will have gotten the last page of message ids.internalDate
is lower than some cut-off value.This is no great solution, since a targeted attacker could just insert a message with a custom Date-header, but might be worth having as a metric of many others in your algorithm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With