PDI-11186 - NPE when using Job Get Mails entry

fix provided
Merge pull request #251 from prakapenka/PDI-11186

 PDI-11186 - NPE when using Job Get Mails entry