New answers tagged email
GMail has official JAVA API. Here is your bag: https://developers.google.com/gmail/api/quickstart/quickstart-java
I just replaced our Gmail-based tests with a tool called Inbucket (http://www.inbucket.org/) and just query its REST API to check the email contents. It works pretty well so far. If you use c#, it's pretty simple to create a small class to query the API using RestSharp.
Top 50 recent answers are included