Automatic Mail Send When User Log in using Spring Integration

Right now mail send to predefined xml based user, will change to user
who log in.