fixed few bugs
1. Added retry timeout(1 min) for threader
2. Added regex for email link (Issue #39)
3. Fixed query for sending email