Added flag to check if email should be send.

This allows for an easier testing on localhost.
Properties are searched hierarchically.

For a property, a.b.c.d, the search order is
  d
  c.d
  b.c.d
  a.b.c.d
This allows for a clearer configuration file.
Updated.