code/Debug/controllers/EmailController.php
public function getBodyAction()
    {
        if ($email = $this->_initEmail()) {
            $this->getResponse()->setHeader('Content-Type', $email->getIsPlain() ? 'text/plain' : 'text/html');
            $this->getResponse()->setBody($email->getBody());
        }
    }
public function getBodyAction()
    {
        if ($email = $this->_initEmail()) {
            $this->getResponse()->setHeader('Content-Type', $email->getIsPlain() ? 'text/plain' : 'text/html');
            $this->getResponse()->setBody($email->getBody());
        }
    }
E-mail body action