Skip to main content

Windows Outlook COM HTTP bridge for AICortex pods (companion to aicorkit)

Project description

aicortex-bridge

Windows host HTTP service for Outlook COM. Lives in the aicorkit repo alongside the aicorkit package.

Install (Windows)

pip install aicorkit aicortex-bridge
aicortex-bridge serve

serve defaults to background mode and adds a logon Run key (AICortexBridge) so the bridge starts when you sign in. Logs: %USERPROFILE%\.aicorkit\logs\aicortex-bridge.log.

aicortex-bridge status          # running / pid / auto-start
aicortex-bridge stop            # stop background process
aicortex-bridge uninstall       # stop + remove logon task
aicortex-bridge serve -f        # foreground (debug)
aicortex-bridge serve --no-autostart   # background only, no boot task

From source (repo root):

pip install .
pip install ./bridge
aicortex-bridge serve

Requires Outlook desktop signed in. Default listen: 0.0.0.0:8766.

Release (publish both packages)

cd D:\CODE\aicorkit
python -m pip install build
python -m build
python -m build bridge
# twine upload dist/* bridge/dist/*

Pod usage

Windows host:

aicortex-bridge serve

Runs in the background and registers logon auto-start. Pod env:

AICORTEX_OUTLOOK_BRIDGE_URL=http://host.docker.internal:8766

aicorkit auto-routes outlook * and graph ingest email --from outlook when the URL is set (aicorkit/outlook_bridge.py).

HTTP API

aicorkit CLI Bridge
outlook list-emails GET /v1/outlook/list-emails
outlook read-email GET /v1/outlook/read-email?q=...
outlook send-email POST /v1/outlook/send-email
outlook list-calendar GET /v1/outlook/list-calendar?d=14
outlook create-meeting POST /v1/outlook/create-meeting
outlook free-busy -e ... GET /v1/outlook/free-busy?email=...
outlook list-rooms GET /v1/outlook/list-rooms
graph ingest (full body) GET /v1/outlook/list-emails-full

Also: GET /v1/outlook/new, POST /v1/outlook/download-attachments, GET /health, GET /v1/outlook/ping.

Config

Shared with aicorkit: ~/.aicorkit/config.yaml (email.whitelist), ~/.aicorkit/state/outlook.json.

Optional auth: AICORTEX_BRIDGE_TOKEN / AICORKIT_OUTLOOK_BRIDGE_TOKEN.

Not via bridge: aicorkit meeting *, resolve_contact (COM-only).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aicortex_bridge-0.1.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aicortex_bridge-0.1.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file aicortex_bridge-0.1.1.tar.gz.

File metadata

  • Download URL: aicortex_bridge-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for aicortex_bridge-0.1.1.tar.gz
Algorithm Hash digest
SHA256 baddc7b956ce1f25a108c58097027816710c93b4d37f0ab2c333079d3602ff5c
MD5 906015346f914656bc3062b8cc40795c
BLAKE2b-256 1daad181d64459b22bab490137b5026887049e943f6ac3eb790ab4547ae40d44

See more details on using hashes here.

File details

Details for the file aicortex_bridge-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aicortex_bridge-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 012d38d8e13ff9dd27389d1caccd8c9963d5dc1306238d86af707a0a29ad0bae
MD5 92898d9e5e30d3a2d85456d60d9055b9
BLAKE2b-256 e3c8f9ac811e71f3a6881278906f794d8e3f0830b6508dac6adc7ad92bf632c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page