Nitpick: This indentation is funky. Perhaps

    msg += _(
        'Failed - email {0} already exists as external_id'
    ).format(email)