add test that attaches inline files while the mail view renders
mark mail as called as early as possible