Quicksend facility completed (could do with minor usability improvements).
Refactor lookup functions, including role lookup by resource (aka mailout_id)