added some xml configs and dependencies for mail sending.