Here's the train info:
http://www.trinityrailwayexpress.org
To get to the train from the terminal, you have to take two(!) shuttle buses. The train schedule is sporadic, with trains as close as 15 minutes apart during rush hour, but 90 minutes apart midday. There's no service at all on Sundays.