Here's what the SQL statement would look like:
select top 1 *
from CMS_Email
where emailto = 'your@email.com'
and EmailStatus = 3
order by EmailLastSendAttempt desc
So essentially you need to do something like this in code:
var email = CMS.EmailEngine.EmailInfoProvider.GetEmailInfos("EmailTo = 'your@email.com' AND EmailStatus = 3", "EmailLastSendAttempt DESC", 1, "");
This should get you an InfoDataSet<EmailInfo>
you can iterate through.