def work(message)
      # invoke service object to save message to database
      message = JSON.parse(message)
      RenoteDac::Mailer.enqueue(
        message['postmark_data']['template'],
        message['postmark_data']['address'],
        message['postmark_data']['params'],
        message['postmark_data']['attachments']
      )
      # let queue know message was received
      ack!
    end
def work(message)
      # invoke service object to save message to database
      message = JSON.parse(message)
      RenoteDac::Mailer.enqueue(
        message['postmark_data']['template'],
        message['postmark_data']['address'],
        message['postmark_data']['params'],
        message['postmark_data']['attachments']
      )
      # let queue know message was received
      ack!
    end
work method receives message payload in raw format
 in our case it is JSON encoded string
 which we can pass to RecentPosts service without
 changes