Added a check to see if the post was published before making up the mail, to avoid the extra emails.  Of course, now my local mail isn't working.