Yes. To help prevent viruses, Gmail won't accept file attachments that are executable files. There's also a 25 MB size limitation for attachments. For details, see the Gmail Help Center.