protected function sendNotification($to, array $changedValues)
    {
        $message = \Swift_Message::newInstance()
            ->setSubject('User details updated')
            ->setFrom($this->getContainer()->getParameter('fos_user.resetting.email.from_email'))
            ->setTo($to)
            ->setBody(
                $this->getContainer()->get('twig')->render(
                    '@WebtownKunstmaanExtension/email/user_edit.html.twig',
                    ['changes' => $changedValues]
                ),
                'text/html'
            );
        $this->getContainer()->get('mailer')->send($message);
    }