added size argument
Merge remote-tracking branch 'origin/fs-3891-email-limit-part2-wai' into develop

code change for FS#3891 added size parameter to upload function