sym.sdk.integrations.sym.get_or_create_user_by_email(email: str) sym.sdk.user.User

For the given email address, retrieve the Sym User if one exists, or create a new Sym User if none exists.

If the user was not found and could not be created, or another error occurred (e.g., an invalid email address was specified), this function will instead raise an exception. It will never return None.


email – The email address of the user to retrieve or create.


The Sym User corresponding to the given email address.


SymIntegrationError – If the user could not be retrieved or created, or if the email address is invalid, or on any other error.