add logback smtp appender
fix ERROR: column reference "id" is ambiguous