Hi, sethu!
You can try this awk command:
awk '/TEST-SUCCESS/ { print | mail user; exit }' logfile
This awk script finds the line with pattern TEST-SUCCESS, email entire line to user and exits.
I didn't test this program solution, but I hope it helps.
Bye!
KP.