added interval in ticket functions
added send mailer file for sending all bulk mails