[send-mail] send many attachments via input pipe implemented
[send-mail] handling empty params improved