changed language detection

1. set by command lang
2. set by phone country code
3. set by user preferences
added email command