Fixing email text when there is something wrong.
Added function to get last 12 months
Started working on rates trend.