stdin by messages with attachments