wip - first prototype of email sink