Add mail pipe capability

Nice for using the sendmail binary
Split mail handling into Pool and Bytes

This approach means all messages can be delivered through the same mail
functions.