def get_user_wallet_name(username):
    """
    Determine wallet name based on a user name (email).
    """
    wallet_name = username.replace('@', '_')
    wallet_name = wallet_name.replace('.', '_')
    return 'i_{}'.format(wallet_name).lower()
