(1) simple mail service impl (2) mock config file