periodic task of create dump and send emails