Не могу настроить отправку писем с с gmail

Здравствуйте!
Огромная проблема. Очень надо настроить отправку писем именно через гугл, однако уже третий день пытаюсь, все варианты из интернета перепробовал, ни чего не выходит(
Выдает ошибку при отправке:
# Swift_TransportException

## Failed to authenticate on SMTP server with username "******************" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code “535”, with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials 2sm701914lfr.48 - gsmtp
". Authenticator PLAIN returned Expected response code 235 but got code “535”, with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials 2sm701914lfr.48 - gsmtp

". Authenticator XOAUTH2 returned Expected response code 250 but got code “535”, with message "535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials 2sm701914lfr.48 - gsmtp

".

Вот настройки mailer:

'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => false,
            'transport' => [
                'class' => 'Swift_SmtpTransport',
                'host' => 'smtp.gmail.com',
                'username' => '******************',
                'password' => '*******************',
                'port' => '465',
                'encryption' => 'ssl',
            ],
        ],

Естественно почту и пароль ввожу верные. Тут просто звездочки.
Помогите пожалуйста(