Export and email mongoDB data.