Change record status: 
Project: 
Introduced in branch: 
8.2.x
Introduced in version: 
8.2.0
Description: 

core/lib/Drupal/Core/Mail/MailManager::__construct() changed signature,
added RendererInterface $renderer to the end of the arguments.

Refactored mail() method and added doMail() method inside it.

Purpouse:

e-mail SHOULD NOT be an HTTP response.

Solution applied:

mail() should use own render context.

Impacts: 
Module developers