public function testsyncEmail()
 {
     global $current_user;
     $current_user = new User('1');
     $inboundEmail = new InboundEmail();
     //execute the method and test if it works and does not throws an exception.
     try {
         $inboundEmail->syncEmail();
         $this->assertTrue(true);
     } catch (Exception $e) {
         $this->fail();
     }
 }