add smtp logging capability