added method to check if the mail has already been send