So it is timing out while contacting kibana for the report to attach to the email? I believe that can happen if the report generation is slow. Is there anything you could do to speed up this report? Is there anything interesting in the kibana or elasticsticsearch logs at the time it fails?