update rake version and modify rake task and mailer view