To export Gmail emails with attachments to PST, use the TrustVare IMAP Backup Tool. It gives you a simple and safe solution to back up Gmail data directly to PST format without losing any formatting or attachments. This application support all major IMAP server including Gmail, Yhaoo, G Suite...