PDI-11186 - NPE when using Job Get Mails entry

fix provided.

Difference is that we do check mail operation, and if it is not 'get email' we do not need to check if folder exists etc. as the real folders is used only for get email operation type.
No junit provided, fix simplicity compare to test complexity of method call functional overload.