Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
aec3049
Implement fetching; still need to work on document parsing
raunakab Jul 3, 2025
ffe84dc
Merge branch 'main' into feat/imap
raunakab Jul 3, 2025
c02ab71
Add basic skeleton of parsing email bodies
raunakab Jul 3, 2025
dc04f85
Add id field
raunakab Jul 5, 2025
9590fac
Add email body parsing
raunakab Jul 5, 2025
b4ebe54
Implement checkpointed imap-connector
raunakab Jul 7, 2025
d436da2
Merge branch 'main' into feat/imap
raunakab Jul 7, 2025
4f7fedd
Add testing logic for basic iteration
raunakab Jul 7, 2025
87fcb7b
Add logic to get different header if "to" isn't present
raunakab Jul 7, 2025
f8b8c38
Add ability to index specific mailboxes
raunakab Jul 7, 2025
49cf725
Add breaking when indexing has been fully exhausted
raunakab Jul 7, 2025
85de22b
Sanitize all mailbox names + add space between stripped strings after…
raunakab Jul 7, 2025
8926687
Add multi-recipient parsing
raunakab Jul 7, 2025
46940a7
Change around semantic-identifier and title
raunakab Jul 7, 2025
5a39f2b
Add imap tests
raunakab Jul 7, 2025
2526e43
Add recipients and content assertions to tests
raunakab Jul 7, 2025
2cd07e7
Add envvars to github actions workflow file
raunakab Jul 7, 2025
d75c09e
Merge branch 'main' into feat/imap
raunakab Jul 8, 2025
434d9a3
Remove encoding header
raunakab Jul 8, 2025
48392a0
Update logic to not immediately establish connection upon init of `Im…
raunakab Jul 8, 2025
eb57905
Add start and end datetime filtering + edit when connection is establ…
raunakab Jul 8, 2025
9e4a414
Remove content-type header
raunakab Jul 8, 2025
bfed97a
Add note about guards
raunakab Jul 8, 2025
0966668
Change default parameters to be `None` instead of `[]`
raunakab Jul 8, 2025
7229226
Address comment on PR
raunakab Jul 8, 2025
3337b05
Implement more PR suggestions
raunakab Jul 8, 2025
6638278
More PR suggestions
raunakab Jul 8, 2025
529f75e
Implement more PR suggestions
raunakab Jul 8, 2025
f266de4
Change up login/logout flow (PR suggestion)
raunakab Jul 8, 2025
94a8c0c
Move port number to be envvar
raunakab Jul 8, 2025
72b19a4
Make globals variants in enum instead (PR suggestion)
raunakab Jul 8, 2025
975758e
Fix more documentation related suggestions on PR
raunakab Jul 8, 2025
0f4c60b
Have the imap connector implement `CheckpointedConnectorWithPermSync`…
raunakab Jul 8, 2025
b3e0a06
Add helper for loading all docs with permission syncing
raunakab Jul 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/pr-python-connector-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ env:
# Hubspot
HUBSPOT_ACCESS_TOKEN: ${{ secrets.HUBSPOT_ACCESS_TOKEN }}

# IMAP
IMAP_HOST: ${{ secrets.IMAP_HOST }}
IMAP_USERNAME: ${{ secrets.IMAP_USERNAME }}
IMAP_PASSWORD: ${{ secrets.IMAP_PASSWORD }}
IMAP_MAILBOXES: ${{ secrets.IMAP_MAILBOXES }}

# Airtable
AIRTABLE_TEST_BASE_ID: ${{ secrets.AIRTABLE_TEST_BASE_ID }}
AIRTABLE_TEST_TABLE_ID: ${{ secrets.AIRTABLE_TEST_TABLE_ID }}
Expand Down
2 changes: 2 additions & 0 deletions backend/onyx/configs/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ class DocumentSource(str, Enum):
AIRTABLE = "airtable"
HIGHSPOT = "highspot"

IMAP = "imap"

# Special case just for integration tests
MOCK_CONNECTOR = "mock_connector"

Expand Down
Empty file.
Loading