<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def confirm_email(self, request, email_address):
 """ Marks the email address as confirmed on the db """

        email_address.verified = True
        email_address.set_as_primary(conditional=True)
        email_address.save()