do not use file transport for emails by default, when in production
fixed code blocks display
added missing ENV variables for Travis
Merge commit '63d8bffaf51a0e26e0b07c339f0c458d4e8e826e'