blobstorage server: add email handling code