[Bug]: Email Outbox Refreshes and Removes Filters After Viewing an Email
@gggdttt is already working on this.
Since Jun 22, 2026.
- Dominant language
- AL
- Stars
- 683
- Forks
- 459
- Avg merge
- 3d 26m
- Merged PRs (30d)
- 633
Description
Describe the issue
The email outbox behaves counter intuitively because of how it refreshes the temp records. This results in any email being viewed removing the filters and thus forcing users to restart their process when troubleshooting.
This happens because the drilldown always causes a refresh as it assumes changes were made. This is also explained in the comment here.
The simple solution:
In OnAfterGetRecord, store the rec's view, call LoadEmail, re-apply the filter and current rec selection
The harder solution:
Figure out if email editor can communicate back if changes were made, but this would result in signature changes.
I am willing to provide a bug fix, but don't want to interfere with whatever plans MS might have (if any)
Expected behavior
don't remove filter.
Steps to reproduce
- go to the outbox.
- set a filter.
- click on an email to view it.
- close the email.
- filter is removed.
Additional context
No response
I will provide a fix for a bug
- I will provide a fix for a bug
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.