add documentation link
integrate api server connection test
add debug email for failed transactions