private function tryHandleRequest()
{
if (Debugger::$productionMode !== FALSE) {
return;
}
$action = $this->request->getQuery('nextras-mail-panel-action');
$messageId = $this->request->getQuery('nextras-mail-panel-message-id');
$attachmentId = $this->request->getQuery('nextras-mail-panel-attachment-id');
if ($action === 'detail' && is_string($messageId)) {
$this->handleDetail($messageId);
} elseif ($action === 'source' && is_string($messageId)) {
$this->handleSource($messageId);
} elseif ($action === 'attachment' && is_string($messageId) && ctype_digit($attachmentId)) {
$this->handleAttachment($messageId, $attachmentId);
} elseif ($action === 'delete-one' && is_string($messageId)) {
$this->handleDeleteOne($messageId);
} elseif ($action === 'delete-all') {
$this->handleDeleteAll();
}
}