Can I use gmail for sending logs?

The primary usage, for me, will be to send fail2ban logs. (Didn’t realize that mail-in-a-box uses fail2ban, that’s quite convenient.)

Can I use gmail for sending those logs? I’ve enabled “unsecure” or “insecure” apps on the web interface for gmail.