def METHOD_NAME(self, member: Member, username: str):
    response = (
        self.directory_api.users()
        .patch(
            body={
                "suspended": "false",
                "primaryEmail": f"{member.username}@{settings.GSUITE_MEMBERS_DOMAIN}",
            },
            userKey=f"{username}@{settings.GSUITE_MEMBERS_DOMAIN}",
        )
        .execute()
    )
    if username != member.username:
        self.directory_api.users().aliases().delete(
            userKey=f"{member.username}@{settings.GSUITE_MEMBERS_DOMAIN}",
            alias=f"{username}@{settings.GSUITE_MEMBERS_DOMAIN}",
        ).execute()
    return response["primaryEmail"], _("known by the user")