fix loader bug
add smtp support