def get_user_credentials(username, env_config):
    """ Return email and pswd of specified user, as a tuple. """
    user_email = env_config.get(username).get('email')
    user_pswd = env_config.get(username).get('pswd')
    return (user_email, user_pswd)