added direction support
added email support