added dist
email functionality working from the email button