<configuration>   
  <appender name="EMAIL" class="ch.qos.logback.classic.net.SMTPAppender">

    <Subject>TESTING: %logger{20} - %m</Subject>

    <SMTPHost>${smtpHost}</SMTPHost>
    <To>${to}</To>
    <From>${from}</From>
    <layout class="ch.qos.logback.classic.html.HTMLLayout"/>


    <CyclicBufferTracker class="ch.qos.logback.core.spi.CyclicBufferTracker">
      <BufferSize>1</BufferSize>
    </CyclicBufferTracker>
  </appender>

  <root level="DEBUG">
    <appender-ref ref="EMAIL" />
  </root>  
</configuration>  