It took long time since Gmail was launched and the time they added an antivirus. The new antivirus feature allow an automatic check-up every time you open or send a message with an attachment.

Each time you send and receive attachments, Gmail automatically scans them for viruses.

If a virus is found in an attachment you’ve received, our system will attempt to remove it, or clean the file, so you can still access the information it contains. If the virus can’t be removed from the file, you won’t be able to download it.

If a virus is found in an attachment you’re trying to send, you won’t be able to send the message until you remove the attachment.