add configuration to disable html_email
add request uri to email
add request url to middleware
cleanup railtie
cleanup text email