For security reasons, Gmail does not allow you to use this type of file as it violates Google policy for executables and archives.
To protect you against potential viruses and harmful software, Gmail doesn't allow you to attach certain types of files, including:
- Certain file types (listed below), including their compressed form (like .gz or .bz2 files) or when found within archives (like .zip or .tgz files)
- Documents with malicious macros
- Archives whose listed file content is password protected
- Password protected archives whose content is an archive