Fix IE compatibility
Only show buton when viewing an email in a tab and not when creating an
email
fix deploying plugin