buildAllMail.sh for building. added dist for easy integration