How Do You Email A Professor Without Being Annoying?

How Do You Email A Professor Without Being Annoying? You may use a less formal salutation, and address your professor by something other than Professor Last-Name in your email, if, and only if, you have received an email from them where they use an informal salutation and sign it with something other than Professor Last-Name.