Email errors 397

still need to move config out, https://github.com/modilabs/bamboo/issues/585