I don’t know why I never thought of doing this before, but a great way to get around GMail rejecting your file attachments is to password protect your zip file. GMail is actually smart enough to peek into your zip files and check its contents — provided you don’t password protect it, which most people don’t. Now don’t get me wrong, but that’s a great thing for most people. However, it’s just downright annoying to me when it rejects a file that I know is safe.
I discovered this by accident. I was browsing through some malicious code samples for research, and needed to get the sample from one machine to the other. So I just emailed the sample to my GMail account. It’s not uncommon for security researchers to share malcode samples among each other by means of zipping up the code and then password protecting it.
So imagine my delight when I saw this:

Why yes, dear GMail, I’m glad you cannot scan the file for viruses. Because it _is_ a virus
Maybe Google will roll out a security-researcher’s edition of GMail? Nah. Probably not.