When you finish working with the messages in a mail folder, close it by selecting Close from the Folder menu.
See also: