I have setup a network monitoring system at my office that monitors activity over my network and shoots me an email at certain triggers that i have setup. I have put together an application that quickly does the job for me custom made for the kind of monitoring that i need and rules that i have setup. Now everything is fine and i have setup the emails to be sent using gmail smtp using swift mail plugin.
The problem is gmail is locking my gmail account if a burst of emails is sent or atleast that is what i think. What happens is sometimes theres a lot of activity and the system sends like 50 or 60 emails over a short span of time like in a minute or two. Immediately gmail blocks access to the account and when i open the account in my browser it asks to verify my account. Even after unblocking it the server is still not able to open to gmail account using smtp or imap.
This is getting annoying and i would like to know if there is a way to stop gmail from blocking access to an account if it knows that the access is from a specific IP or if there is a better way to send lots of emails.