Also worth noting that if you have two factor authentication enabled, you'll need to setup an application specific password to use in place of your email account's password.
You can generate an application specific password by following these instructions: https://support.google.com/accounts/answer/185833
Then set $mail->Password
to your application specific password.