test return id from elastic email