I cant setup smtp. I tried everything

I want to use Gmail for inbox and Mailgun for notif. mails vs. is this possible? can I use both