refactor emails into partials and add adjustments