{
    "id": "email-to-trilium@beatlink",
    "name": "Email to Trilium",
    "description": "Multi-account email inbox for TriliumNext. Connects to Gmail and Microsoft (Outlook) accounts over their HTTP APIs, lists recent messages in a render view, and lets you turn any email into a note (subject + HTML body + attachments) filed under a per-account target note, or delete it from the mail account.",
    "author": "BeatLink",
    "homepage": "https://github.com/BeatLink/trilium-scripts/tree/main/addons/email-to-trilium@beatlink",
    "license": "GPL-3.0-or-later",
    "latestVersion": "1.5.0",
    "type": "widget",
    "readme": "README.md",
    "manifestSourceUrl": "https://beatlink.github.io/trilium-scripts/email-to-trilium@beatlink/_tam_manifest_.json",
    "manifest": {
        "settingsNote": "settings-page",
        "notes": [
            {
                "id": "launcher",
                "title": "email-to-trilium@beatlink",
                "type": "render",
                "mime": "text/html",
                "sourceUrl": null
            },
            {
                "id": "view",
                "title": "view.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/email-to-trilium@beatlink/view.jsx",
                "sha": "2097fb5838dfe9defc90bff7c153a4f4e2e0ff39c59153686dd4e84b60a8ba11",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/email-to-trilium@beatlink/view.jsx"
            },
            {
                "id": "style",
                "title": "emailToTrilium.css",
                "type": "code",
                "mime": "text/css",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/email-to-trilium@beatlink/view.css",
                "sha": "165fdccfaed5c9ecc89d1cc19d20422a939ab2aec6f3ec0be1159778f3ab5a6f",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/email-to-trilium@beatlink/view.css"
            },
            {
                "id": "settings-page",
                "title": "Settings",
                "type": "render",
                "mime": "text/html",
                "sourceUrl": null
            },
            {
                "id": "settings",
                "title": "settings.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/email-to-trilium@beatlink/settings.jsx",
                "sha": "b82ce23df551b534a28b398f723aa9cc93ab142c2a87b2081a3d3141b1e09a62",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/email-to-trilium@beatlink/settings.jsx"
            },
            {
                "id": "schema",
                "title": "schema.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/email-to-trilium@beatlink/schema.json",
                "sha": "de5b2f071f9fb2ab88ea9d88126fbf20ca9ba775791ba59a64b0660c57262872",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/email-to-trilium@beatlink/schema.json"
            },
            {
                "id": "defaults",
                "title": "defaults.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/email-to-trilium@beatlink/defaults.json",
                "sha": "d6a228e9b58c9e5c22d8e55e61b94b5fcf34cafd30d915410474a526d970ba55",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/email-to-trilium@beatlink/defaults.json"
            },
            {
                "id": "config",
                "title": "config.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": null
            },
            {
                "id": "backend",
                "title": "emailToTriliumBackend.js",
                "type": "code",
                "mime": "application/javascript;env=backend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/email-to-trilium@beatlink/emailBackend.js",
                "sha": "f131f3a51f64d6d479d71fd5d345b03c4702e69f0748b2aa1fb0f4c024375bb6",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/email-to-trilium@beatlink/emailBackend.js"
            },
            {
                "id": "readme",
                "title": "README.md",
                "type": "code",
                "mime": "text/markdown",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/email-to-trilium@beatlink/README.md",
                "renderAsHTML": true,
                "sha": "e981f528f3e5b7c0a3e0adf15bacfcf9414f99bf1e44fbc021c5198b067dd850",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/email-to-trilium@beatlink/README.md"
            },
            {
                "id": "libsettings-backend",
                "title": "libSettings.js",
                "type": "code",
                "mime": "application/javascript;env=backend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-backend.js",
                "sha": "3c4b119a6d3ec639f1172763670484186755d8d71c544e64b09f118d3edca909",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-backend.js"
            },
            {
                "id": "libsettings-core",
                "title": "libSettingsCore.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-core.js",
                "sha": "6fb4ffee0a776ef38a6646ccbc21dc276614f9ea02d61f1f4f9f877e94b0c586",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-core.js"
            },
            {
                "id": "libsettings-ui",
                "title": "libSettingsUI.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-ui.jsx",
                "sha": "66d4adead5e0447deba7f5cfa2a1573680ece1af619c53eb7241036122fce1a6",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-ui.jsx"
            },
            {
                "id": "libsettings-style",
                "title": "libSettingsUI.css",
                "type": "code",
                "mime": "text/css",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-ui.css",
                "sha": "43a6d3eba0af6f5e197064c7d0054a2ad725cd553c112f3b7427cd4830f2a75f",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-ui.css"
            }
        ],
        "children": [
            {
                "parent": "root",
                "child": "launcher"
            },
            {
                "parent": "launcher",
                "child": "view"
            },
            {
                "parent": "view",
                "child": "style"
            },
            {
                "parent": "launcher",
                "child": "settings-page"
            },
            {
                "parent": "settings-page",
                "child": "settings"
            },
            {
                "parent": "launcher",
                "child": "schema"
            },
            {
                "parent": "launcher",
                "child": "defaults"
            },
            {
                "parent": "persistence",
                "child": "config"
            },
            {
                "parent": "launcher",
                "child": "backend"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-core"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-style"
            },
            {
                "parent": "view",
                "child": "libsettings-ui"
            },
            {
                "parent": "settings",
                "child": "libsettings-ui"
            },
            {
                "parent": "backend",
                "child": "libsettings-backend"
            },
            {
                "parent": "launcher",
                "child": "readme"
            }
        ],
        "relations": [
            {
                "from": "settings",
                "type": "configNote",
                "to": "config"
            },
            {
                "from": "settings",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "view",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "view",
                "type": "settingsNote",
                "to": "settings"
            },
            {
                "from": "backend",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "backend",
                "type": "settingsNote",
                "to": "settings"
            },
            {
                "from": "launcher",
                "type": "renderNote",
                "to": "view"
            },
            {
                "from": "settings-page",
                "type": "renderNote",
                "to": "settings"
            },
            {
                "from": "config",
                "type": "sourceConfig",
                "to": "defaults"
            }
        ],
        "labels": [
            {
                "note": "backend",
                "name": "customRequestHandler",
                "value": "emailToTrilium"
            },
            {
                "note": "style",
                "name": "appCss",
                "value": ""
            },
            {
                "note": "libsettings-style",
                "name": "appCss",
                "value": ""
            }
        ],
        "readmeNote": "readme",
        "settings": {
            "schema": "schema",
            "defaults": "defaults",
            "config": "config"
        }
    },
    "contentHash": "c79be45904a653154a951fc8a8ecf647f3ed18ec1ea20f9b2028d215b5c8db5e"
}
