I need some help in building this project to get a notification to an email when the main power is down. We have 230v so when the circuit breaks it should send an email. So ideally this project needs to be with battery power and charging. I should be able to add an SMTP server to help in sending an email alert out. If I can send the alert every 5 mins until power gets on would be great too. please help me out with this. Highly appreciate your input on this.
Do a google search, this project has been done many times. All you need is the hardware and one of the sample sketches modified to the frequency you want.
Exactly. But you're of course welcome to use us as a sounding board, even though RPi isn't exactly what this forum is about. We're just not interested in handing out solutions on a silver-plate, unless it's in the Paid consultancy category.
you don't have to comment here if you don't get paid. no one asked you to. It looks like you have no idea. This doesn't involve a soldering gun. keep quiet and leave the forum if you don't want to help. I only commented since you asked questions. you don't have to be a jackass.
I never asked you to hand over any closely guarded secrets (if you have any). If you are that person who want to snap every penny don't even comment on my request forums. Unless you are hear to get some help from someone too. LOL.
Divide your project into pieces, find a solution for each part then assemble them into one program.
For example search for:
"arduino send email".
"arduino uninterruptable power supply"
"arduino detect mains voltage"
There is lots of information on the web. If this is a student project make sure your supervisor inspects the your mains voltage detection system as 230v can kill you.