When you find the error that “Gmail Attachment failed” then you need to ensure following:
• You are currently using a supported browser;
• You should attempt to attach files in any other browser;
• May be you have a web browser proxy set up. If yes the please disable it.
Please make sure that you are not trying to upload documents of more than 25 MB in size as Gmail doesn’t allow you to do so.