reduce code duplication
add docs
add rake task to set up postmark