Glad to hear it is working.
the email being trapped as spam can happen for any number of reasons. It could be the Subject, or the email email body contains content that is being considered as spam.
or it could be the from address that is being considered as a spam address.