code: public function _after(\Codeception\TestCase $test)
    {
      if(isset($this->config['deleteEmailsAfterScenario']) && $this->config['deleteEmailsAfterScenario'])
      {
        $this->deleteAllEmails();
      }
    }
docs: Method executed after each scenario