get smtp credentials from environment when running in CI
added sendgrid config
copied asciidoc from apex example

Signed-off-by: alexlehm <alexlehm@gmail.com>