This page is about how I managed to get the WordPress plugin WP-Mail-SMTP to send emails using my GMail account, which has 2 factor authentication enabled, using SSL/TLS.