Bug squash and added debugging/completion info for when mails fail.