def deliver!
      return true unless Apostle.deliver

      unless template_id && template_id != ''
        raise DeliveryError,
              'No email template_id provided'
      end

      queue = Apostle::Queue.new
      queue.add self
      queue.deliver!

      # Return true or false depending on successful delivery
      if queue.results[:valid].include?(self)
        return true
      else
        raise _exception
      end
    end
def deliver!
      return true unless Apostle.deliver

      unless template_id && template_id != ''
        raise DeliveryError,
              'No email template_id provided'
      end

      queue = Apostle::Queue.new
      queue.add self
      queue.deliver!

      # Return true or false depending on successful delivery
      if queue.results[:valid].include?(self)
        return true
      else
        raise _exception
      end
    end
Shortcut method to deliver a single message