fix maildir and /util/init.lua which was not counting email properly and lacking function util.element_in_table function