Command to save a user
    :param email: user email
    :param name: user name
    :param groups: user permission groups
    :return: A command that validate date and save the user

def save_user_cmd(email, name=None, groups=None, locale='en_US', timezone='US/Eastern'):
    """
    Command to save a user
    :param email: user email
    :param name: user name
    :param groups: user permission groups
    :return: A command that validate date and save the user
    """
    if name is None:
        name = email
    if groups is None:
        groups = []
    return SaveUserCmd(name=name, email=email, groups=groups, locale=locale, timezone=timezone)