add smtp method