fixed missing lines. added docs. emailMessage is now map[string]interface{}