correctly reset to_send for attachments
Merge pull request #27 from badfiles/send_attachments

correctly reset to_send for attachments