How to forward certain emails from gmail ( OTP Auto fetch for Gmail accounts )

Step 1: Go to Gmail

Login to Gmail

Step 2: Set up Forwarding Address

First you need to add the email address you want to redirect the mail to.

Go to Settings (under the cog icon) > Forwarding and POP/IMAP > Add a forwarding address (otp@gstsoftware.com).

gmail > Settings > Forwarding and POP/IMAP > Add a forwarding address
Gmail > Settings > Forwarding and POP/IMAP > Add a forwarding address

Step 3: Set up an Email Filter

Once verified, go back to Settings > Forwarding and POP/IMAP and click the link that says "Tip: You can also forward only some of your mail by creating a filter!" (see image above, below the add forwarding address button). This will bring up a filter menu where you can create a filter to isolate the emails you need to forward. From email id: "donotreply@gst.gov.in" or Text "OTP" in Subject.

Create Filter of Emails you want to Forward
Create Filter of Emails you want to Forward

Step 4: Test and Use Email Filter

Configure your filter to match the emails you want forwarded and click "create filter with this search". Tip – make sure you test your filter to make sure it’s capturing all/only the emails you want to forward.

Step 5: Select Forwarding Address to Forward Filtered Mail To

Once you are happy with the filter check the “Forward it to” check box and select the forwarding email address you want the email to be sent to.

gmail > Settings > Forwarding and POP/IMAP > Add a forwarding address
Create Filter of Emails you want to Forward

Step 6: Click "Create Filter"

You should have now successfully have set up Google Mail to forward emails from donotreply@gst.gov.in to otp@gstsoftware.com email account.

A few things to note before we end this tutorial. 1) Old emails, i.e. ones that you have already received will not be forwarded. If you want these in your other email then you’ll have to forward them manually. 2) Once the forwarding filter is successfully set up, you should see a red notice bar in Gmail that says “Your filters are forwarding some of your email to email@domain.com. This Notice will end in 7 days.” This is normal.

gmail filter show
gmail filter show

Finally, make sure you test and keep an eye on your filter to make sure all the email is being forwarded to the other email account. You don’t want to realise weeks down the line that you’ve missed an email!.