Extend session controller to allow sending mails.

No implementation yet, just dependencies.