pipe: Honor attachment ext and size restrictions
Merge pull request #568 from greezybacon/issue/mail-parse-file-exts

pipe: Honor attachment ext and size restrictions

Reviewed-By: Peter Rotich <peter@osticket.com>