from flask import Flask
from flask import render_template

app = Flask(__name__)

@app.route('/mail')
def mail():
	return render_template('mailcontents.html')

@app.route('/send')
def send():
    return

if __name__ == '__main__':
	app.run()
@@ -50,16 +50,52 @@
 template
+%0Afrom jya_gAPIclass import GapiClass
 %0A%0Aapp = 
@@ -225,22 +225,94 @@
 ():%0A    
-return
+instance = GapiClass()%0A%09instance.sendMail(mail_title , mail_text, email, name)
 %0A%0Aif __n

add sendmail()