[Error Code] Permanent failure: BadAttachment [Relevant Links] Some file types are blocked [Explanation] 
The logs indicate that you are trying to send attachments which Google Apps Mail does not support.