diff --git a/include/api.tickets.php b/include/api.tickets.php
index f030918493087fb71ddcddc339c493052376c7cc..00d7628b2e06076938a13df268b0a52fe05dbdc3 100644
--- a/include/api.tickets.php
+++ b/include/api.tickets.php
@@ -144,10 +144,6 @@ class TicketApiController extends ApiController {
     function processEmail() {
 
         $data = $this->getEmailRequest();
-        if($data['ticketId'] && ($ticket=Ticket::lookup($data['ticketId']))) {
-            if(($msgid=$ticket->postMessage($data, 'Email')))
-                return $ticket;
-        }
 
         if (($thread = ThreadEntry::lookupByEmailHeaders($data))
                 && $thread->postEmail($data)) {