"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setUserEmail = exports.getUserEmail = void 0;
const globalConfig_1 = require("./globalConfig");
function getUserEmail() {
    const globalConfig = (0, globalConfig_1.readGlobalConfig)();
    return globalConfig.account?.email;
}
exports.getUserEmail = getUserEmail;
function setUserEmail(email) {
    (0, globalConfig_1.writeGlobalConfig)({ account: { email } });
}
exports.setUserEmail = setUserEmail;
//# sourceMappingURL=accounts.js.map