Pdf reports generation and emailing and saving them