from pathlib import Path
import json


def get_settings(f_settings: Path = Path() / 'settings.json') -> dict:
    """Read in the Gmail username/password to use"""
    print('Getting Gmail credentials')
    with f_settings.open() as settings_json:
        settings = json.load(settings_json)

    return settings