;; Account service — inter-service data queries

(defquery user-by-email (&key email)
  "Return user_id for a given email address."
  (service "account" "user-by-email" :email email))

(defquery newsletters ()
  "Return all Ghost newsletters."
  (service "account" "newsletters"))
