public function sendCalendarEmail(string $to, string $subject, string $content, array $eventOptions, string $config = 'default') : array
    {
        // Get iCal calendar
        $calendar = $this->getEventCalendar($eventOptions);

        // FIXME: WTF happened to new lines???
        $headers = "Content-Type: text/calendar; charset=utf-8";
        $headers .= 'Content-Disposition: attachment; filename="event.ics"';

        $emailer = new Email($config);
        $emailer->setTo($to)
            ->setHeaders([$headers])
            ->setSubject($subject)
            ->addAttachments(['event.ics' => [
                'contentDisposition' => true,
                'mimetype' => 'text/calendar',
                'data' => $calendar->render()
            ]]);

        return $emailer->send($content);
    }