Are you saying that the phone shuts off (powers down) every time you try to empty the email trash bin or are you saying the Mail app shuts down/crashes when trying to empty the email trash bin? If the latter, try deleting the email account from your device and then re-configure it. If the former, you might want to restore your device and set it up as new or make a Genius Bar appointment with the nearest Apple Store.