Usually modifications to a mailitem is performed prior to display. However, special circumstances require a refresh after the mailitem is on display in order to accomodate post-display modifications made to it.
I tried putting multiple mailitem.display at different locations in my code, but it seems to work unreliably.
Any ideas are welcome.