Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email Issues #4827

Merged
merged 16 commits into from
Mar 20, 2024
Merged

Email Issues #4827

merged 16 commits into from
Mar 20, 2024

Conversation

ushahidlee
Copy link
Contributor

This PR contains a bugfix and new functionality.

Bug: The data source was selecting the last imported message from the platforms database and using its id as the starting point to fetch new messages from the mailbox. This means that if the data source was removed and then re-added, it would use the previously fetched message id as a starting point and not fetch messages until the new messages had ids that exceeded that value. This fix allows the data source to save the last fetch email id in its config, which is deleted with the data source.

New Functionality: I have added a new option to the setup which allows the user to specify whether they would like all email fetched (ie. everything in the inbox irrespective of the number of emails) or only unread email (the new option).

@ushahidlee ushahidlee requested a review from Mh-Asmi March 14, 2024 15:06
Copy link

linear bot commented Mar 14, 2024

Copy link
Contributor

@Mh-Asmi Mh-Asmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test the branch but the code is good for me 👍

@tuxpiper tuxpiper merged commit 85a7a5f into develop Mar 20, 2024
4 checks passed
@tuxpiper
Copy link
Member

Nice 👌 thank you, @ushahidlee !

@tuxpiper tuxpiper deleted the ush-1164-gmail branch March 20, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants