Identify slow running queries automated mongo script and output generate email as table format

Hi Team,

We need automation mongo script for MongoDB Slow running /Long running queries and all Databases all operations such as command , getmore, insert, delete , update
and also output export into emails as a table format