Rebecca, error aside, have you considered using alternate email, for GMail has limitation of 500 emails sent out in 24 hours period (just to counteract spam being sent out), after that they suspends your accounts.
General help
Moodle 2.7.1 Not connecting to Gmail SMTP to send emails
This discussion has been locked so you can no longer reply to it.