As part of my form data I wish to include a direct URL to the newly created form log.
Currently this doesn't exist in $data.
I have added in the 'FormEmail' listener 'handle()' method:
$data['logger'] = $this->logger;
$response = Event::fire('formBuilder.beforeSendMessage', [$form, $data, $this->logger->files]);
I can then access the ID to create the URL in the template.