Default Autosend email outside lockscreen

Got this app with a separate lockscreen laying on top of the native pin locked one.
I got a alert function, which means when i open the app only (still no access to the rest of the phone, press "alert" it send sms in background, but when sending the mail, i have to unlock the phone to execute and send that, disregarding the default mail account, Gmail or any other mail.
Any good advice on solving this, so the email also sends out in the background without seeing it, or having to unlock the phone.
Mail sender/receiver and content is predefined in the app before calling it up...