               [:table {:class "row white-block"}
                 [:tr
                   [:th {:class "small-1 large-1"}
-                    [:img {:class "note-author-avatar" :src (circle-image avatar-url 32)}]]
+                    (when-not (s/blank? avatar-url)
+                      [:img {:class "note-author-avatar" :src (circle-image avatar-url 32)}])]
                   [:th {:class "small-11 large-11"}
                     [:table {:class "white-block"}
                       [:tr
                         [:th
-                          (spacer 8 "white-block" "body-spacer")]]]
+                          (spacer 7 "white-block" "body-spacer")]]]
                     [:table {:class "white-block"}
                       [:tr
                         [:th

            [clojure.walk :refer (keywordize-keys)]
            [clj-time.format :as format]
            [hiccup.core :as h]
            [oc.email.config :as config]))

(def max-logo 32)

(def profile-url (str config/web-url "/profile"))


        logo-height (:org-logo-height invite)
        logo? (not (s/blank? logo-url))
        org-name (:org-name invite)
        from (if (s/blank? (:from invite)) "Someone" (:from invite))
        from-avatar (when-not (s/blank? (:from invite)) (:from-avatar invite))
        note (:note invite)
        note? (not (s/blank? note))]
    [:td
      (spacer 40)
      (when logo? (org-logo {:org-name org-name
