PDI-10909 - Email message input: retrive the first ... emails

junit tests added
PDI-10909 - Email message input: retrive the first ... emails

Fix added. 
Retrieve first ... emails will be applied only if folder is non dynamic
Limit value overrides retrieve first ... emails value