Fix the limit of messages per page if no limit is set at this function parameters.
Allowing user specific server settings and hiding the block at basic_webmail pages.