Lumail - The console email client


Examples: mark_all_read()

--
-- Mark all messages in the currently selected folder(s) as read.
--
function mark_all_read()
   count = count_messages()
   i = 0

   while( i < count ) do
      jump_index_to( i )
      mark_read()
      i = i + 1
   end
end