public function getMessage($messageId)
{
$this->requireSessions();
if (!isset($this->sessionSection->messages[$messageId])) {
throw new \RuntimeException("Unable to find mail with ID {$messageId}");
}
return $this->sessionSection->messages[$messageId];
}