Improved message mailer
Added pagination support