Lock smtp client