Moves mail body to an ERB template

fixed