added Unit#email
fixed bug in email conf