update core
add mailer utility class