Hi,
One option is to add your code in module cc_display(PAI module of smartfom screen) in include LSTXBWFCC using access key.
Enter the function code for sending mail in command field(for eg: PDF! is a standard function code for PDF preview).
Regards
Sreekanth